plugin_e2ee: fingerprint command defaults to ownjid in MucTab
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
0391057163
commit
98ac3a0aaf
1 changed files with 2 additions and 0 deletions
|
@ -308,6 +308,8 @@ class E2EEPlugin(BasePlugin):
|
||||||
tab = self.api.current_tab()
|
tab = self.api.current_tab()
|
||||||
if not args and isinstance(tab, self.supported_tab_types):
|
if not args and isinstance(tab, self.supported_tab_types):
|
||||||
jid = tab.jid
|
jid = tab.jid
|
||||||
|
if isinstance(tab, MucTab):
|
||||||
|
jid = self.core.xmpp.boundjid.bare
|
||||||
elif not args and isinstance(tab, RosterInfoTab):
|
elif not args and isinstance(tab, RosterInfoTab):
|
||||||
# Allow running the command without arguments in roster tab
|
# Allow running the command without arguments in roster tab
|
||||||
jid = self.core.xmpp.boundjid.bare
|
jid = self.core.xmpp.boundjid.bare
|
||||||
|
|
Loading…
Reference in a new issue