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:
Vishal 2022-12-28 21:06:02 +05:30
parent 009ca0a074
commit 97ed8ac742
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);