mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-03 23:15:33 +00:00
updates
This commit is contained in:
parent
88d9f7b74d
commit
0a051ac737
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user