|
|
|
@ -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(
|
|
|
|
|