feat: user blocking (block/unblock + blocked list) - #539
Merged
Conversation
…ked-conversation hiding
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's included
BlockUser, and returns to Tips with the conversation hidden. For tip DMs this takes precedence over the contact-card action.UnblockUser.isHiddenflag; the feed (and Spotlight index) filter onisHiddenonly. Reconciliation runs on block/unblock, on blocklist refresh, and after every feed load, so a stale server reload can't un-hide a blocked chat. Unblocking restores the conversation with its full history.BlocklistTablecache (SQLiteVersion 27→29) backs the Blocked screen offline and refreshes on foreground.Flipcash_Blocklist_V1_Blocklistservice is wired intoFlipClient;ErrorBlocklistconforms toTransportClassifiableError(pinned by a test). Block/unblock failures surface a user-facing error alert (copy matched to Android) in addition to Bugsnag capture.profile.v1 join_ts, surfaced asProfile.joinedAt.