diff --git a/app/src/flux/models/thread.ts b/app/src/flux/models/thread.ts index 0721412aa..ed09fe85b 100644 --- a/app/src/flux/models/thread.ts +++ b/app/src/flux/models/thread.ts @@ -218,6 +218,7 @@ export class Thread extends ModelWithMetadata { getMailboxPermalink() { const subject = encodeURIComponent(this.subject); - return `mailspring://thread?subject=${subject}&date=${this.firstMessageTimestamp.getTime()}`; + const date = Math.floor(this.firstMessageTimestamp.getTime() / 1000); + return `mailspring://thread?subject=${subject}&date=${date}`; } }