fix: inbound Block activity doesn't persist block record #15
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When a remote actor sends a
Blockactivity targeting a local user, k-ap's handler removes follower/following relationships (correct), but does NOT callblocklist_repo.add_blocked_actor(). So we don't record that the remote actor blocked us.Practical effect is correct (they can't receive our posts after follows are removed), but we can't show "this actor blocked you" in the UI.
Fix
Requires k-ap change — the
Blockactivity handler (activities/block.rs) should callblocklist_repo.add_blocked_actor()on the local user's behalf. See companion issue in k-ap repo.Blocked by: k-ap update.