Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2022-04-18 15:14:50 +0300
committerlovetox <philipp@hoerist.com>2022-04-18 15:14:50 +0300
commitda6244965e125b517421cda45364d82bae984f44 (patch)
tree4634c8e671ace2c568851f4175ee532d2274b1d4
parentc62eeb05d1f60e561316564992c496c05250a5fa (diff)
fix: openpgp: Make nicer fallback string
-rw-r--r--nbxmpp/modules/openpgp.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/nbxmpp/modules/openpgp.py b/nbxmpp/modules/openpgp.py
index ce1abe8..7db6a2d 100644
--- a/nbxmpp/modules/openpgp.py
+++ b/nbxmpp/modules/openpgp.py
@@ -345,8 +345,7 @@ def create_message_stanza(stanza, encrypted_payload, with_fallback_text):
stanza.addChild(node=eme_node)
if with_fallback_text:
- stanza.setBody(
- '[This message is *encrypted* with OpenPGP (See :XEP:`0373`]')
+ stanza.setBody('This message is *encrypted* with OpenPGP')
def _make_keylist(keylist):