2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-03 23:15:33 +00:00
This commit is contained in:
quadrismegistus 2020-09-15 14:52:35 +01:00
parent 88d9f7b74d
commit 0a051ac737

View File

@ -184,12 +184,12 @@ class CLI(Logger):
print(f'@Operator: You have {len(unr)} unread messages, with {len(inb)} total in your inbox.\n')
def prompt_adduser(self,msg):
print('prompt got:',msg)
print(msg.data)
do_adduser = input(f'''\n\nAdd this user's public key to your addressbook? [Y/n]\n{self.komrade}: ''')
do_senduser = input(f'''\n\nSend this user your public key as well? [Y/n]\n{self.komrade}: ''')
# print('prompt got:',msg)
# print(msg.data)
do_adduser = input(f'''\n\nAdd this user's public key to your addressbook? [y/N]\n{self.komrade}: ''')
do_senduser = input(f'''\n\nSend this user your public key as well? [y/N]\n{self.komrade}: ''')
if do_adduser:
if do_adduser.strip().lower()=='y':
meet_name = msg.data.get('meet_name')
meet_uri = msg.data.get('meet')
self.komrade.save_uri_as_qrcode(