mirror of
https://github.com/block/buzz.git
synced 2026-11-24 10:12:19 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user