atagen

macltok

public
Star0
Watch0

Commit a951cb7cb7ca

tarball

atagen <boss@atagen.co>2026-10-24 23:17 UTC

1 file changed+1-8
Revert "timeline: backfill recent events when reopening rooms"

This reverts commit 5572a11e8823a38565ef9d03d2033208a39e95a3.
Modified file: src/engine/room.rs+1 additions−8 deletions
@@ -147,14 +147,7 @@ impl RoomActor {
147147 request = self.requests.recv() => match request {
148148 None => return None,
149149 Some(ActorRequest::Close(reply)) => return Some(reply),
150- Some(ActorRequest::Open(reply)) => {
151- match timelines.room.resync().await {
152- Ok(()) if self.context.initial_history_limit > 0 => {
153- timelines.room.paginate(self.context.initial_history_limit, Some(reply));
154- }
155- result => reply.done(result),
156- }
157- }
150+ Some(ActorRequest::Open(reply)) => reply.done(timelines.room.resync().await),
158151 Some(ActorRequest::Execute(command, reply)) => {
159152 timelines.execute(command, reply, &self.room).await;
160153 }