fix(sdk): Broadcast a RoomEventCacheGenericUpdate when paginating from the network.

This patch sends a missing `RoomEventCacheGenericUpdate` when paginating
events from the network.
This commit is contained in:
Ivan Enderlin
2025-12-10 10:12:11 +01:00
parent db0f4dd31c
commit 0a24622ca2
@@ -316,6 +316,12 @@ impl RoomPagination {
diffs: timeline_event_diffs,
origin: EventsOrigin::Pagination,
});
// Send a room event cache generic update.
let _ = self
.inner
.generic_update_sender
.send(RoomEventCacheGenericUpdate { room_id: self.inner.room_id.clone() });
}
Ok(Some(outcome))