diff options
author | Philipp Hörist <forenjunkie@chello.at> | 2017-07-28 14:28:29 +0300 |
---|---|---|
committer | Philipp Hörist <forenjunkie@chello.at> | 2017-07-28 14:28:29 +0300 |
commit | 9b809b6b433c99fe485a4dcc6aeb363a5d9c8e16 (patch) | |
tree | 89ca453f6f62eb606abd69b53a44ea7a8aec652d | |
parent | ca7a3cc1e34a4a34322ec6139350e9ffa5c1a84e (diff) |
[omemo] Make sure from attr is a string
-rw-r--r-- | omemo/omemoplugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/omemo/omemoplugin.py b/omemo/omemoplugin.py index 25a4010..5493412 100644 --- a/omemo/omemoplugin.py +++ b/omemo/omemoplugin.py @@ -1126,7 +1126,8 @@ class OmemoPlugin(GajimPlugin): log.error(account + ' => Devicelistquery was NOT successful') self.publish_own_devices_list(account, new=True) return False - contact_jid = stanza.getAttr('from') + + contact_jid = str(stanza.getAttr('from')) if contact_jid == my_jid: state.set_own_devices(devices_list) state.store.sessionStore.setActiveState(devices_list, my_jid) |