summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/plugin_e2ee.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/poezio/plugin_e2ee.py b/poezio/plugin_e2ee.py
index daf00818..95b216b1 100644
--- a/poezio/plugin_e2ee.py
+++ b/poezio/plugin_e2ee.py
@@ -428,7 +428,10 @@ class E2EEPlugin(BasePlugin):
break
# If we encrypt to all of these JIDs is up to the plugin, we
# just tell it who is in the room.
- jids.append(user.jid)
+ # XXX: user.jid shouldn't be empty. That's a MucTab/slixmpp
+ # bug.
+ if user.jid.bare:
+ jids.append(user.jid)
if not self._encryption_enabled(tab.jid):
raise NothingToEncrypt()