fn merged_room_details( conn: &Connection, lists: &SmallVec<[ListId; 1]>, room_id: &RoomId, ) -> (usize, HashSet<(StateEventType, StateKey)>)