From 23d380c3a5ee5bfaa34ea7858f9331303c2de1c8 Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Sat, 12 Sep 2020 22:53:38 +0100 Subject: [PATCH] updates --- komrade/backend/messages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/komrade/backend/messages.py b/komrade/backend/messages.py index 2711f65..18fdc1e 100644 --- a/komrade/backend/messages.py +++ b/komrade/backend/messages.py @@ -59,10 +59,10 @@ class Message(Logger): else: msg=self.msg return f""" - from: {'@'+self.from_name if self.from_name else ''} + from: {'@'+self.from_name if self.from_name else '(not given)'} ({b64encode(self.from_pubkey).decode()}) - to: {'@'+self.to_name if self.to_name else ''} + to: {'@'+self.to_name if self.to_name else '(not given)'} ({b64encode(self.to_pubkey).decode()}) msg: {msg}