From ad50635347a070adf7a232a2ee791b3aae7d5433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Mon, 7 Aug 2017 17:58:10 +0200 Subject: [PATCH] Revert "[omemo] Make sure from attr is a string" This reverts commit 346da609340845280aacb4d31540f35963d763e1 --- omemo/omemoplugin.py | 2 -- 1 file changed, 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)