E2EE warning messages have no context #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, users only get a static string as message from the special JID of just the domain (i.e the service) when not using E2EE.
Error messages that are injected into a conversation are a thing but not implemented in all clients.
Zash says this is used something like
error_reply
is defined inutil.stanza
.continue
cancel
Also implement fallback behavior – basically the current behavior but replace string "<jid>" in the warning message string with recipient JID (should work fine with direct messages and MUCs)
util.stanza.error_reply
was already used forrequired
policy, but is apparently not supported by many clients (at least not by dino).cad3bef48e
fixes the issue partially by addinge2e_policy_warn_mechanism
, but the fallback solution still has to beimplemented because we currently can't deploy with it set to
error
and so have to inject context into the message content.