fix(relay): start a new DM with its people, not its agents

A new DM forked from an existing one now holds the source's people plus
the explicit additions. Agents already in the source stay behind and can
be added later, so no agent's add policy can block "Start new DM".

Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
morgmart
2026-11-14 14:14:37 -10:00
parent 22c532f776
commit 990f8b2ed1
5 changed files with 66 additions and 30 deletions

View File

@@ -1357,7 +1357,7 @@ pub enum DmsCmd {
#[arg(long)]
pubkey: String,
/// Add them to this DM with its history, instead of starting a new DM
/// of everyone. A person added to a DM of one person and their agents
/// of its people and them (agents stay behind). A person added to a DM of one person and their agents
/// always starts a new DM. Agents cannot use this.
#[arg(long)]
include_history: bool,