diff --git a/src/atoms/hooks/socket.ts b/src/atoms/hooks/socket.ts index 419b85a6c3..dfe5e8e891 100644 --- a/src/atoms/hooks/socket.ts +++ b/src/atoms/hooks/socket.ts @@ -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])