Skip to content

Commit

Permalink
increased author id len printed to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalxl committed Dec 22, 2022
1 parent 91ddb39 commit 68c9fb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/event_ds.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ String getNip05Name( String pubkey) {
}

// returns name by looking up global list gKindONames, which is populated by kind 0 events
String getAuthorName(String pubkey, [int len = 3]) {
String getAuthorName(String pubkey, [int len = 5]) {
String max3(String v) => v.length > len? v.substring(0,len) : v.substring(0, v.length);
String name = "";
if( gKindONames[pubkey]?.name == null || gKindONames[pubkey]?.name?.length == 0)
Expand Down
2 changes: 1 addition & 1 deletion lib/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:logging/logging.dart';

// name of executable
const String exename = "nostr_console";
const String version = "0.2.6-beta";
const String version = "0.2.7-beta";

int gDebug = 0;
int gSpecificDebug = 0;
Expand Down

0 comments on commit 68c9fb9

Please sign in to comment.