Skip to content

Commit

Permalink
[lastfm] fix undefined issue. MAYBE this will fix the stupid tab open…
Browse files Browse the repository at this point in the history
… not connecting issue
  • Loading branch information
yellowsink committed Dec 13, 2024
1 parent dd4a406 commit 4ce6d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/lastfm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 4ce6d67

Please sign in to comment.