don't show child and parent events in chat list subtitles
This commit is contained in:
parent
1faf151001
commit
75f64e57d0
1 changed files with 3 additions and 1 deletions
|
|
@ -20,7 +20,9 @@ class GetChatListItemSubtitle {
|
|||
(key) => event.content.tryGet(key) != null,
|
||||
) ||
|
||||
event.type.startsWith("p.") ||
|
||||
event.type.startsWith("pangea.");
|
||||
event.type.startsWith("pangea.") ||
|
||||
event.type == EventTypes.SpaceChild ||
|
||||
event.type == EventTypes.SpaceParent;
|
||||
|
||||
Future<String> getSubtitle(
|
||||
L10n l10n,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue