From b8810c96880dfc3c47a541b469257377a734918e Mon Sep 17 00:00:00 2001 From: yellowsink Date: Fri, 13 Dec 2024 11:46:32 +0000 Subject: [PATCH] deploy: 4ce6d67b95ad0f028f493d6248c75f4068ea5105 --- lastfm/plugin.js | 2 +- lastfm/plugin.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lastfm/plugin.js b/lastfm/plugin.js index f7afab9..8f21fed 100644 --- a/lastfm/plugin.js +++ b/lastfm/plugin.js @@ -4166,7 +4166,7 @@ }; var isSpotifyPlaying = () => { for (const activity of PresenceStore.getActivities( - UserStore.getCurrentUser().id + UserStore.getCurrentUser()?.id )) if (activity?.type === ACTIVITY_TYPE_LISTENING && activity.application_id !== DISCORD_APP_ID) return true; diff --git a/lastfm/plugin.json b/lastfm/plugin.json index b64db49..adc0a19 100644 --- a/lastfm/plugin.json +++ b/lastfm/plugin.json @@ -1 +1 @@ -{"name":"Last.fm Presence","author":"Yellowsink","description":"Shows your Last.fm now listening as a presence","hash":"3919c886a7fe095f01e5340dc84c0140"} \ No newline at end of file +{"name":"Last.fm Presence","author":"Yellowsink","description":"Shows your Last.fm now listening as a presence","hash":"e248640e04d64516540740ce007534a8"} \ No newline at end of file