more work on user info
This commit is contained in:
parent
7a0cfe34f3
commit
c907558dd1
5 changed files with 72 additions and 3 deletions
|
@ -275,7 +275,10 @@ class Onionr:
|
|||
action = action.lower()
|
||||
if action == 'list':
|
||||
for friend in self.onionrCore.listPeers(randomOrder=False, trust=1):
|
||||
logger.info(friend)
|
||||
if friend == self.onionrCore._crypto.pubKey:
|
||||
continue
|
||||
friendProfile = onionrusers.OnionrUser(self.onionrCore, friend)
|
||||
logger.info(friend + ' - ' + friendProfile.getName())
|
||||
elif action in ('add', 'remove'):
|
||||
try:
|
||||
friend = sys.argv[3]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue