don't show child and parent events in chat list subtitles

This commit is contained in:
ggurdin 2024-06-18 12:14:00 -04:00
parent 1faf151001
commit 75f64e57d0

View file

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