Skip to content

Commit

Permalink
fix: provider account id
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Nov 26, 2024
1 parent 08acd9b commit b6d777b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/atoms/hooks/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const useSocketSessionId = () => {
if (!owner) return fallbackSid
return `owner_${owner.id}`
} else if (sessionReader) {
return sessionReader.id.toLowerCase()
return sessionReader.id || sessionReader.providerAccountId
}
return fallbackSid
}, [owner, ownerIsLogin, sessionReader])
Expand Down

0 comments on commit b6d777b

Please sign in to comment.