From 83dd970870920ab93e552d6cb225b9e4e5b5063a Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Wed, 16 Sep 2020 11:46:24 +0100 Subject: [PATCH] updates --- komrade/cli/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/komrade/cli/cli.py b/komrade/cli/cli.py index 9e2b53a..11a271f 100644 --- a/komrade/cli/cli.py +++ b/komrade/cli/cli.py @@ -199,7 +199,7 @@ class CLI(Logger): status=res.get('status') #msg = status if not res.get('success') else status+str(res) if res.get('success'): - self.stat(f'I sent the following message to @{meet_name}:','',f'{res.get("msg_sent")}') + self.stat(f'I sent the following message to @{name_or_pubkey}:\n\n"{res.get("msg_sent")}"') else: self.stat(status) @@ -265,7 +265,7 @@ class CLI(Logger): self.print('@Operator: Returning the invitation ...') res = self.komrade.meet(meet_name,returning=True) if res.get('success'): - self.stat(f'I sent the following message to @{meet_name}:','',f'{res.get("msg_sent")}') + self.stat(f'I sent the following message to @{meet_name}:\n\n"{res.get("msg_sent")}"') else: self.stat(msg.get('status'))