diff --git a/plugins/lastfm/index.ts b/plugins/lastfm/index.ts index 786b134..f0e628b 100644 --- a/plugins/lastfm/index.ts +++ b/plugins/lastfm/index.ts @@ -92,7 +92,7 @@ const getScrobbleLastfm = async () => { const isSpotifyPlaying = () => { for (const activity of PresenceStore.getActivities( - UserStore.getCurrentUser().id, + UserStore.getCurrentUser()?.id, )) if ( activity?.type === ACTIVITY_TYPE_LISTENING &&