room-history: Avoid panic when timeline is empty
Regression introduced in !1627 (merged).
It seems like when we are creating a new room, there are no events in the timeline, so 0 - 1
panics.
Regression introduced in !1627 (merged).
It seems like when we are creating a new room, there are no events in the timeline, so 0 - 1
panics.