Commit a951cb7cb7ca
tarball1 file changed+1-8
@@ -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
}