Mentions & groups in common
A page of every message that @mentions you, and shared groups in the New message preview.
Mentions page
Lists every message that @mentions the signed-in user, newest first, across all their conversations and threads. Off by default:
tsx
<ChatMain {...props} layout={{ mentions: true }} />Mentions are recorded when the sender picks a person in the composer's @ list (or types @Name), in DMs, groups and thread replies.
Exports
New message - groups in common
In New message → Message, selecting a person shows their profile with Conversations in common · N: every group you both belong to, most recently active first, with an Archivedtag where it applies. The list comes from the backend, so it includes older groups not yet loaded in the sidebar; it's hidden when you share none.
typescript
import { fetchCommonGroups, type CommonGroup } from "@realtimexsco/live-chat"; const { list, total } = await fetchCommonGroups(userId); // limit defaults to 20, max 100// list: { _id, groupName, groupImage, memberCount, isArchived }[]