mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-03-27 02:01:51 +01:00
fixed issue where names were printed only 4 chars long in direct room overview
set channel msgs printed to 18 , old default.
This commit is contained in:
parent
009ca0a074
commit
97ed8ac742
@ -301,7 +301,7 @@ const int gMaxDifficultyAllowed = 24;
|
||||
int gDifficulty = 0;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////// channel related settings
|
||||
const int gNumChannelMessagesToShow = 40;
|
||||
const int gNumChannelMessagesToShow = 18;
|
||||
const int gMaxChannelPagesDisplayed = 50;
|
||||
|
||||
|
||||
|
@ -1950,7 +1950,7 @@ class Store {
|
||||
|
||||
DirectMessageRoom room = directRooms[j];
|
||||
String id = room.otherPubkey.substring(0, 6);
|
||||
String name = getAuthorName(room.otherPubkey, maxDisplayLen: 4);
|
||||
String name = getAuthorName(room.otherPubkey);
|
||||
|
||||
void markAllRead (Event e) => e.eventData.isNotification = false;
|
||||
room.visitAllMessages(this, markAllRead);
|
||||
|
Loading…
x
Reference in New Issue
Block a user