fix(ui): load up reactions to threaded messages

This commit is contained in:
Stefan Ceriu
2025-05-15 13:09:20 +03:00
committed by Benjamin Bouvier
parent ebcb74a86d
commit c860e7fca7

View File

@@ -21,7 +21,7 @@ use matrix_sdk::{
},
room::{IncludeRelations, RelationsOptions},
};
use ruma::{api::Direction, events::relation::RelationType, OwnedEventId, UInt};
use ruma::{api::Direction, OwnedEventId, UInt};
use super::traits::RoomDataProvider;
@@ -57,7 +57,7 @@ impl<P: RoomDataProvider> ThreadedEventsLoader<P> {
from: token,
dir: Direction::Backward,
limit: Some(num_events),
include_relations: IncludeRelations::RelationsOfType(RelationType::Thread),
include_relations: IncludeRelations::AllRelations,
recurse: true,
};