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:
authorPhilipp Hörist <philipp@hoerist.com>2019-06-23 00:33:50 +0300
committerPhilipp Hörist <philipp@hoerist.com>2019-06-23 00:33:50 +0300
commit3d57126268db971d05629ae1bc82f9cec588698c (patch)
tree4b69551e397e4312a781e9f7d1de2975267413f4 /nbxmpp/structs.py
parent9fd88196a947d24149927952f5e2ada80ad81225 (diff)
Add jid to CommonError results
Diffstat (limited to 'nbxmpp/structs.py')
-rw-r--r--nbxmpp/structs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/structs.py b/nbxmpp/structs.py
index a614541..fcfc68f 100644
--- a/nbxmpp/structs.py
+++ b/nbxmpp/structs.py
@@ -135,7 +135,7 @@ class OMEMOBundle(namedtuple('OMEMOBundle', 'spk spk_signature ik otpks')):
return random.SystemRandom().choice(self.otpks)
-class CommonError(namedtuple('CommonError', 'type message')):
+class CommonError(namedtuple('CommonError', 'type message jid')):
def __str__(self):
if self.message is not None:
return '%s: %s' % (self.type, self.message)