diff options
Diffstat (limited to 'nbxmpp/structs.py')
-rw-r--r-- | nbxmpp/structs.py | 2 |
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) |