feat(session): add dmScope for multi-user DM isolation

Co-authored-by: Alphonse-arianee <Alphonse-arianee@users.noreply.github.com>
This commit is contained in:
UbuntuandAlphonse-arianee authored and Peter Steinberger committed 2026-01-16 04:13:10 +00:00
1 parent e6364d031d
commit ca9688b5cc
18 files changed
+184 -14

No files matched your search

+1
View File
@@ -58,6 +58,7 @@ export async function maybeBroadcastMessage(params: {
kind: params.msg.chatType === "group" ? "group" : "dm",
id: params.peerId,
},
dmScope: params.cfg.session?.dmScope,
}),
mainSessionKey: buildAgentMainSessionKey({
agentId: normalizedAgentId,