diff --git a/crates/matrix-sdk-ui/src/room_list_service/room_list.rs b/crates/matrix-sdk-ui/src/room_list_service/room_list.rs index 8056c14da..99d8fa10b 100644 --- a/crates/matrix-sdk-ui/src/room_list_service/room_list.rs +++ b/crates/matrix-sdk-ui/src/room_list_service/room_list.rs @@ -254,7 +254,7 @@ fn merge_stream_and_receiver( /// When a [`RoomList`] is displayed to the user, it can be in various states. /// This enum tries to represent those states with a correct level of /// abstraction. -#[derive(Clone, Debug)] +#[derive(Clone, Debug, PartialEq, Eq)] pub enum RoomListLoadingState { /// The [`RoomList`] has not been loaded yet, i.e. a sync might run /// or not run at all, there is nothing to show in this `RoomList` yet.