Skip to content

Commit

Permalink
Fix merge/unmerge when logged out on Desktop. (#4986)
Browse files Browse the repository at this point in the history
  • Loading branch information
michelinewu authored May 2, 2024
1 parent 013a7d5 commit 70b9093
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/services/user/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ export class UserService extends PersistentStatefulService<IUserServiceState> {
}

if (['account_merged', 'account_unlinked'].includes(event.type)) {
if (!this.isLoggedIn) return;

await this.updateLinkedPlatforms();

const message =
Expand Down

0 comments on commit 70b9093

Please sign in to comment.