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

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2020-05-02 10:34:31 +0300
committerlovetox <philipp@hoerist.com>2020-05-02 10:34:31 +0300
commite43beb0f128f0979e56a88f05c91bc0900d53b8d (patch)
tree42f22805b42f384295d52f779b160b5386b3d4af /pgp/modules
parent21bf8f09f15bcb6254e9b22d35f28c3e6ce49a35 (diff)
[pgp] Fix attribute access
Fixes #483
Diffstat (limited to 'pgp/modules')
-rw-r--r--pgp/modules/pgp_legacy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgp/modules/pgp_legacy.py b/pgp/modules/pgp_legacy.py
index 1fa3190..7bc0901 100644
--- a/pgp/modules/pgp_legacy.py
+++ b/pgp/modules/pgp_legacy.py
@@ -255,7 +255,7 @@ class PGPLegacy(BaseModule):
stanza = nbxmpp.Message(
to=obj.stanza.getTo(),
typ=obj.stanza.getType())
- stanza.setID(obj.stanza_id)
+ stanza.setID(obj.stanza.getID())
stanza.setThread(obj.stanza.getThread())
for tag, ns in ALLOWED_TAGS:
node = obj.stanza.getTag(tag, namespace=ns)