diff options
author | Philipp Hörist <forenjunkie@chello.at> | 2017-08-07 18:58:10 +0300 |
---|---|---|
committer | Philipp Hörist <forenjunkie@chello.at> | 2017-08-07 18:58:10 +0300 |
commit | ad50635347a070adf7a232a2ee791b3aae7d5433 (patch) | |
tree | 6c70eaf2e88af43d15dde442743542cf2adfb383 | |
parent | bfd427bae4c4bd45bf2ff8818f50bf88ca48a45e (diff) |
Revert "[omemo] Make sure from attr is a string"
This reverts commit 346da609340845280aacb4d31540f35963d763e1
-rw-r--r-- | omemo/omemoplugin.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/omemo/omemoplugin.py b/omemo/omemoplugin.py index c29cd2f..47aa342 100644 --- a/omemo/omemoplugin.py +++ b/omemo/omemoplugin.py @@ -1041,8 +1041,6 @@ class OmemoPlugin(GajimPlugin): self.publish_own_devices_list(account, new=True) return False contact_jid = stanza.getAttr('from') - if isinstance(nbxmpp.JID, contact_jid): - contact_jid = str(contact_jid) if contact_jid == my_jid: state.set_own_devices(devices_list) state.store.sessionStore.setActiveState(devices_list, my_jid) |