From 3c7fb0b79245dedb890abc7be47b0359f9034985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Mon, 21 Mar 2022 01:12:43 +0100 Subject: plugin_e2ee: rework fingerprint display slightly 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 a11337e9..e081cb50 100644 --- a/poezio/plugin_e2ee.py +++ b/poezio/plugin_e2ee.py @@ -284,13 +284,13 @@ class E2EEPlugin(BasePlugin): if len(fprs) == 1: fingerprint = self.format_fingerprint(fprs[0], theme) self.api.information( - f'Fingerprint for {jid}: {fingerprint}', + f'Fingerprint for {jid}:\n{fingerprint}', 'Info', ) elif fprs: fmt_fprs = map(lambda fp: self.format_fingerprint(fp, theme), fprs) self.api.information( - 'Fingerprints for %s:\n\t%s' % (jid, '\n\t'.join(fmt_fprs)), + 'Fingerprints for %s:\n%s' % (jid, '\n\n'.join(fmt_fprs)), 'Info', ) else: -- cgit v1.2.3