Browse Source

timeline: Don't change state when Timeline is cleared.

It is not really in its initial state since it should be ready to load
more events.
merge-requests/1461/head
Kévin Commaille 3 years ago committed by Kévin Commaille
parent
commit
c363a18e5f
  1. 1
      src/session/model/room/timeline/mod.rs

1
src/session/model/room/timeline/mod.rs

@ -384,7 +384,6 @@ impl Timeline {
imp.sdk_items.remove_all();
imp.event_map.take();
self.set_state(TimelineState::Initial);
}
/// Get the event with the given key from this `Timeline`.

Loading…
Cancel
Save