mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-04-01 00:18:21 +02:00
added lightning prefix in profile adds
This commit is contained in:
parent
e11c374d66
commit
44ffb62c05
@ -335,20 +335,20 @@ void printProfile(Store node, String profilePubkey) {
|
||||
List<int>? typesAndModule = getTypeAndModule(lud06);
|
||||
if( typesAndModule != null) {
|
||||
print("Printing lud06 LNURL as QR:\n\n");
|
||||
print(getPubkeyAsQrString(lud06, typesAndModule[0], typesAndModule[1]));
|
||||
print(getPubkeyAsQrString("lightning:" + lud06, typesAndModule[0], typesAndModule[1]));
|
||||
}
|
||||
} catch(e) {
|
||||
print("Could not generate qr code for the lnurl given. \n");
|
||||
}
|
||||
}
|
||||
|
||||
// print LNRUL lud06 if it exists
|
||||
// print LNRUL lud16 if it exists
|
||||
if( lud16.length > gMinLud06AddressLength) {
|
||||
try {
|
||||
List<int>? typesAndModule = getTypeAndModule(lud16);
|
||||
if( typesAndModule != null) {
|
||||
print("Printing lud16 address as QR:\n\n");
|
||||
print(getPubkeyAsQrString(lud16, typesAndModule[0], typesAndModule[1]));
|
||||
print(getPubkeyAsQrString("lightning:" + lud16, typesAndModule[0], typesAndModule[1]));
|
||||
}
|
||||
} catch(e) {
|
||||
print("Could not generate qr code for the given address.\n");
|
||||
|
@ -17,6 +17,7 @@ homepage: https://github.com/vishalxl/nostr_console
|
||||
# after tagging
|
||||
# improved notification count and display with recent clipped-thread change
|
||||
# fixed issue where had to go to main menu from SN menu to get notifications ; related: also got notifications in other menus so now on following someone, that event is processed in this menu itself
|
||||
# added ligning prefix in profile
|
||||
|
||||
|
||||
# 0.3.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user