Extract shared inbox dedup logic from broadcast methods #17
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?
Severity: Medium
src/service/broadcast.rs:broadcast_create_note(lines 240-299) andbroadcast_update_note(lines 303-351) are nearly identical — same inbox deduplication logic (lines 257-274 vs 318-335), same HashSet pattern, same early-return.Extract into a shared helper function.