Skip to content

Conversation

@r10s
Copy link
Contributor

@r10s r10s commented Jan 23, 2026

this PR changes the encryption-info to use the string "Messages are end-to-end encrypted." instead of "End-to-end encryption available"

  • "available" is a bit vague, and comes from times of opportunistic encryption.

  • re-use the string anyway used for the info-message

@r10s r10s requested a review from iequidoo January 23, 2026 14:36

/// The number of info messages added to new e2ee chats.
/// Currently this is "End-to-end encryption available", string `E2eAvailable`.
/// Currently this is "Messages are end-to-end encrypted.", string `ChatProtectionEnabled`.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this comment was always wrong

E2eAvailable = 25,

#[strum(props(fallback = "No encryption"))]
#[strum(props(fallback = "No encryption."))]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

examples say to use a dot, so add it to the fallback string as well (in practise, the string is anyway not translated yet)

@r10s r10s merged commit 448c0d2 into main Jan 24, 2026
30 checks passed
@r10s r10s deleted the r10s/e2ee-always-available branch January 24, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants