diff --git a/src/session/content/explore/public_room_list.rs b/src/session/content/explore/public_room_list.rs index 1428d3d5..f144e224 100644 --- a/src/session/content/explore/public_room_list.rs +++ b/src/session/content/explore/public_room_list.rs @@ -240,7 +240,11 @@ impl PublicRoomList { (position - 1, 0, added) } } else { - (position, 1, added) + if position == 0 { + (position, 0, added) + } else { + (position - 1, 1, added) + } } };