From 7e95b1ace68a6bc02bf4209e1818c166d955f975 Mon Sep 17 00:00:00 2001 From: Nicholas Molnar Date: Tue, 16 Aug 2022 20:51:18 -0700 Subject: [PATCH] fix: revert change to sent field --- src/Message.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Message.ts b/src/Message.ts index 4ec3470ac..45f2d9cee 100644 --- a/src/Message.ts +++ b/src/Message.ts @@ -79,7 +79,7 @@ export default class Message implements proto.V1Message { } get sent(): Date | undefined { - return this.header ? new Date(this.header?.timestamp.toNumber()) : undefined + return this.header ? new Date(this.header?.timestamp) : undefined } // wallet address derived from the signature of the message sender