KamoCRM

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

Fixkamo-shared-library
Shipped
4 நவம்பர், 2025 அன்று 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?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing