Skip to content

Commit

Permalink
fix: revert change to sent field
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Aug 17, 2022
1 parent 851b9d0 commit 7e95b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e95b1a

Please sign in to comment.