/** Every live chat session — the default chat plus all peers. */
allChatSessions(): TSession[] {
for (const entry of this._chats.values()) {
if (entry.ownSession) {
sessions.push(entry.ownSession);
}
}
return sessions;
}
// ---- Peer chats (every chat except the default) ------------------------