mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-05-31 18:19:40 +02:00
displayed name with public ids printed..
in case there are more than 1 when looking up a profile
This commit is contained in:
parent
75d6dc6b44
commit
805a130d24
@ -301,7 +301,7 @@ Future<void> otherMenuUi(Store node) async {
|
||||
if( userName != "") {
|
||||
Set<String> pubkey = getPublicKeyFromName(userName);
|
||||
print("There are ${ pubkey.length} public keys for the given name, which are/is: ");
|
||||
pubkey.forEach( (x) => print(" $x"));
|
||||
pubkey.forEach( (x) => print(" $x ( ${gKindONames[x]?.name} )"));
|
||||
if( pubkey.length > 1) {
|
||||
if( pubkey.length > 1) {
|
||||
print("Got multiple users with the same name. Try again, and try to type a more unique name or id-prefix");
|
||||
|
Loading…
x
Reference in New Issue
Block a user