From 606f013e63a0d979211a16549d109051476d879e Mon Sep 17 00:00:00 2001 From: Luke Leppan Date: Tue, 26 Jan 2021 10:07:53 +0200 Subject: [PATCH] Fix timer bug #1 --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 6e93de9..bcdb0df 100644 --- a/src/main.ts +++ b/src/main.ts @@ -161,7 +161,7 @@ export default class ObsidianDiscordRPC extends Plugin { }); } else { await this.rpc.setActivity({ - startTimestamp: new Date(), + startTimestamp: date, largeImageKey: "logo", largeImageText: "Obsidian", });