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

feat: Don't show a contact as verified if their key changed since the verification #4574

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

Hocuri
Copy link
Collaborator

@Hocuri Hocuri commented Jul 24, 2023

If a contact's key changed since the verification, then it's very unlikely that they still have the old, verified key. So, don't show them as verified anymore.

This also means that you can't add a contact like this to a verified group, which is good.

The documentation actually already described this (new) behavior:

/// and if the key has not changed since this verification.

so, this adapts the code to the documentation.

If a contact's key changed since the verification, then it's very
unlikely that they still have the old, verified key. So, don't show them
as verified anymore.

This also means that you can't add a contact like this to a verified
group, which is good.

The documentation actually already described this (new) behavior:

```rust
/// and if the key has not changed since this verification.
```

so, this adapts the code to the documentation.
Copy link
Member

@adbenitez adbenitez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really nice improvement <3

@Hocuri Hocuri merged commit 60bacbe into master Jul 31, 2023
@Hocuri Hocuri deleted the hoc/not-verified-if-key-changed branch July 31, 2023 16:59
@link2xt link2xt mentioned this pull request Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants