summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2022-03-21 01:12:43 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2022-03-21 17:45:30 +0100
commit3c7fb0b79245dedb890abc7be47b0359f9034985 (patch)
tree686394d75483c5327ff86b53343bd8abb3de2bc1
parent433d5e6f76da52ed7f7f798cfb031f164a76fb23 (diff)
downloadpoezio-3c7fb0b79245dedb890abc7be47b0359f9034985.tar.gz
poezio-3c7fb0b79245dedb890abc7be47b0359f9034985.tar.bz2
poezio-3c7fb0b79245dedb890abc7be47b0359f9034985.tar.xz
poezio-3c7fb0b79245dedb890abc7be47b0359f9034985.zip
plugin_e2ee: rework fingerprint display slightly
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 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: