mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 13:40:55 -04:00
fix(sdk): Events loaded from the cache have EventsOrigin::Cache.
This patch fixes the `EventsOrigin` value for events loaded from the cache, it was `Pagination`, now it is `Cache`.
This commit is contained in:
@@ -226,7 +226,7 @@ impl RoomPagination {
|
||||
let _ =
|
||||
self.inner.sender.send(RoomEventCacheUpdate::UpdateTimelineEvents {
|
||||
diffs: timeline_event_diffs,
|
||||
origin: EventsOrigin::Pagination,
|
||||
origin: EventsOrigin::Cache,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user