aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime “pep” Buquet2019-10-13 11:31:15 (GMT)
committerMaxime “pep” Buquet2019-12-27 17:58:48 (GMT)
commit3697e308c29a9470675a7fdba743f2751797ae57 (patch)
tree3bc0af12821867d51096f802aeccbaa9c776f799
parent931fc581992fe0efeefece259673852fc7d0dfb2 (diff)
downloadpoezio-3697e308c29a9470675a7fdba743f2751797ae57.tar.gz
poezio-3697e308c29a9470675a7fdba743f2751797ae57.tar.xz
omemo: use jid property instead of name on chat tab
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/plugin_e2ee.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/plugin_e2ee.py b/poezio/plugin_e2ee.py
index 71f37f4..9022231 100644
--- a/poezio/plugin_e2ee.py
+++ b/poezio/plugin_e2ee.py
@@ -268,7 +268,7 @@ class E2EEPlugin(BasePlugin):
@command_args_parser.quoted(0, 1)
def _command_show_fingerprints(self, args: List[str]) -> None:
if not args and isinstance(self.api.current_tab(), self.supported_tab_types):
- jid = self.api.current_tab().name
+ jid = self.api.current_tab().jid
else:
jid = args[0]
self._show_fingerprints(JID(jid))
@@ -293,7 +293,7 @@ class E2EEPlugin(BasePlugin):
'Info',
)
return
- jid = self.api.current_tab().name
+ jid = self.api.current_tab().jid
if not args:
self.api.information(
'No fingerprint provided to the command..',