From 98ac3a0aaf9dffb68fceb112cd848a7d7e822c80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 3 Jul 2022 12:49:06 +0200 Subject: plugin_e2ee: fingerprint command defaults to ownjid in MucTab MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/plugin_e2ee.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3