refactor: Display thread messages like replies as a thread fallback

Signed-off-by: Krille <c.kussowski@famedly.com>
This commit is contained in:
Krille 2025-05-05 09:30:56 +02:00
commit 89fb866cde
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
3 changed files with 24 additions and 15 deletions

View file

@ -342,8 +342,12 @@ class Message extends StatelessWidget {
crossAxisAlignment:
CrossAxisAlignment.start,
children: <Widget>[
if (event.relationshipType ==
RelationshipTypes.reply)
if ({
RelationshipTypes.reply,
RelationshipTypes.thread,
}.contains(
event.relationshipType,
))
FutureBuilder<Event?>(
future: event
.getReplyEvent(timeline),