Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't show notifications for verified state change with yourself #1454

Merged
merged 2 commits into from Sep 8, 2017

Conversation

scottnonnenberg
Copy link
Contributor

@scottnonnenberg scottnonnenberg commented Sep 8, 2017

Though it is possible to verify yourself in Android and iOS, it's confusing to users and it really doesn't mean anything anyway.

Fixes #1451

It's confusing to users, and it really doesn't mean anything anyway.

FREEBIE
@scottnonnenberg scottnonnenberg changed the title Don't do anything with incoming verification of yourself Don't show notifications for verified state change with yourself Sep 8, 2017
@liliakai
Copy link
Contributor

liliakai commented Sep 8, 2017

Note: we actually mark our own identity key in the trust store as VERIFIED during registration/linking, but it's not reflected in the conversation database, which is why it appears to be changing.

@scottnonnenberg
Copy link
Contributor Author

Ah, interesting. All of our syncs from trust store to the conversation database are UI-specific: when we're about to show a conversation, when the ConversationView is listening and a new message comes in, etc.

So a solution here might be to call updateVerified() at something like first creation of a conversation. But I still like this solution, because every group ends up showing something about your safety number with yourself. We just don't need that.

@liliakai
Copy link
Contributor

liliakai commented Sep 8, 2017

Yeah this change still makes sense. Maybe add a log statement?

@scottnonnenberg scottnonnenberg merged commit 69af8d2 into master Sep 8, 2017
@scottnonnenberg scottnonnenberg deleted the verify-self branch September 8, 2017 18:14
scottnonnenberg added a commit that referenced this pull request Sep 14, 2017
Force full contact/group import on next launch if not first run (#1476)

Performance: Log entry max to 2k, less logging in hot codepaths (#1459)

Don't show notification for verified state change with yourself (#1454)

Export: Improve usability - timing expectations, install button (#1474)

Add Transifex config to git to unblock Electron localization (#1477)

Large localization update

FREEBIE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants