2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-05 21:20:51 +00:00
This commit is contained in:
quadrismegistus 2020-09-15 15:12:33 +01:00
parent 49b00082ec
commit e2d12c98fa

View File

@ -191,8 +191,8 @@ class CLI(Logger):
meet_name = msg.data.get('meet_name')
meet_uri = msg.data.get('meet')
qrstr=self.komrade.qr_str(meet_uri)
do_adduser = input(f'''\n\nAdd @{meet_name}'s public key ({meet_uri.decode()}) to your address book?\n\nIt will allow you and @{meet_name} to read and write encrypted messages to one another.\n{self.komrade} [y/N]: ''')
do_senduser = input(f'''\n\nSend this user your public key as well?\n{self.komrade} [y/N]: ''')
do_adduser = input(f'''\n\n@Operator: Add @{meet_name}'s public key ({meet_uri.decode()}) to your address book?\n\nIt will allow you and @{meet_name} to read and write encrypted messages to one another.\n\n{self.komrade} [y/N]: ''')
do_senduser = input(f'''\nSend this user your public key as well?\n\n{self.komrade} [y/N]: ''')
if do_adduser.strip().lower()=='y':
fnfn = self.komrade.save_uri_as_qrcode(
@ -235,7 +235,7 @@ class CLI(Logger):
if msg.data.get('prompt_id')=='addcontact':
self.prompt_adduser(msg)
self.prompt_msg()
self.prompt_msg(msg)
clear_screen()
self.help()