From 77d904d3442226018274f292e65cde4e883ebfd1 Mon Sep 17 00:00:00 2001 From: operator-main Date: Sun, 4 Oct 2026 01:29:26 +0000 Subject: [PATCH] dm.py: Fix dm_thread to pass to_agent correctly\n\nWas calling dm_send(to_agent, target, attributed) which set the\nsender to the recipient and omitted the to_agent param. Now calls\ndm_send(from_agent, target, attributed, to_agent=to_agent). --- bin/dm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dm.py b/bin/dm.py index dfb651b..e9f4c27 100755 --- a/bin/dm.py +++ b/bin/dm.py @@ -284,7 +284,7 @@ def dm_log(n=20): def dm_thread(from_agent, to_agent, target, message): attributed = f"[{from_agent}] {message}" - return dm_send(to_agent, target, attributed) + return dm_send(from_agent, target, attributed, to_agent=to_agent) def main(): p = argparse.ArgumentParser(description="DM: Headless Direct Messages (UUID-tagged, logged; delivery NOT confirmed)")