From 3697e308c29a9470675a7fdba743f2751797ae57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 13 Oct 2019 13:31:15 +0200 Subject: omemo: use jid property instead of name on chat tab 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/poezio/plugin_e2ee.py b/poezio/plugin_e2ee.py index 71f37f45..90222313 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..', -- cgit v1.2.3