From fe774bdfb04cba8038e5686cfcd92ec65f8853df Mon Sep 17 00:00:00 2001 From: Cameron Pfiffer Date: Wed, 4 Mar 2026 08:56:21 -0800 Subject: [PATCH] refactor: redirect reply annotations to target parent post instead of self --- src/void_tools/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/void_tools/cli.py b/src/void_tools/cli.py index adac28c..7212ef3 100644 --- a/src/void_tools/cli.py +++ b/src/void_tools/cli.py @@ -185,7 +185,7 @@ def cmd_sync(args): # target_id: "notif_0" # Resolves from inbox.yaml # posts: # - "My reply text" -# annotation: # Optional: automatically annotates your reply +# annotation: # Optional: automatically annotates the TARGET post you are replying to # text: "Memory trace" # # 3. Margin Annotation (Standalone) @@ -284,8 +284,8 @@ def cmd_dispatch(args): first_reply_uri = post.uri ann = act.get("annotation") - if ann and first_reply_uri: - create_annotation(client, first_reply_uri, ann.get("text"), ann.get("motivation", "commenting"), ann.get("quote")) + if ann and target_uri: + create_annotation(client, target_uri, ann.get("text"), ann.get("motivation", "commenting"), ann.get("quote")) except Exception as e: print(f"Error replying to {target_uri}: {e}") -- 2.54.0