pub async fn block_user(npub: String, handler: &dyn ProfileSyncHandler) -> boolExpand description
Block a user by npub. DM events from blocked users are dropped after decryption. Group messages are stored but filtered in the UI.
Returns false if trying to block yourself or if the profile can’t be found.