Search for existing chat sessions by participant membership, not just session owner

Fixkamo-shared-library
Shipped
November 4, 2025 at 7:18 PM UTC
Author
snadjafinia
Commit
7d88a7a

- Changed findOrCreateChatSession to search MediaSessionMember records instead of MediaSession.member - Now searches sessions where creator is a participant (memberInvited or memberCreated) - Also searches sessions where otherMember is a participant - Fixes issue where each member was creating separate sessions instead of sharing one - This ensures all messages from both members appear in the same chat session

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing