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}")