mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-10 08:53:00 -04:00
fix(ui): load up reactions to threaded messages
This commit is contained in:
committed by
Benjamin Bouvier
parent
ebcb74a86d
commit
c860e7fca7
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user