summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2022-07-03 12:49:06 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2022-07-03 12:49:06 +0200
commit98ac3a0aaf9dffb68fceb112cd848a7d7e822c80 (patch)
treea62542c97d76b75295f02995c4a32297ead83db4
parent0391057163ee482f88552d16680d03d2143c2573 (diff)
downloadpoezio-98ac3a0aaf9dffb68fceb112cd848a7d7e822c80.tar.gz
poezio-98ac3a0aaf9dffb68fceb112cd848a7d7e822c80.tar.bz2
poezio-98ac3a0aaf9dffb68fceb112cd848a7d7e822c80.tar.xz
poezio-98ac3a0aaf9dffb68fceb112cd848a7d7e822c80.zip
plugin_e2ee: fingerprint command defaults to ownjid in MucTab
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/plugin_e2ee.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/poezio/plugin_e2ee.py b/poezio/plugin_e2ee.py
index 8f3e5dd1..47dbe6d5 100644
--- a/poezio/plugin_e2ee.py
+++ b/poezio/plugin_e2ee.py
@@ -308,6 +308,8 @@ class E2EEPlugin(BasePlugin):
tab = self.api.current_tab()
if not args and isinstance(tab, self.supported_tab_types):
jid = tab.jid
+ if isinstance(tab, MucTab):
+ jid = self.core.xmpp.boundjid.bare
elif not args and isinstance(tab, RosterInfoTab):
# Allow running the command without arguments in roster tab
jid = self.core.xmpp.boundjid.bare