diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt index 5d978ed6a4..9efad1081f 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt @@ -289,7 +289,9 @@ class RoomDetailViewModel @AssistedInject constructor( _viewEvents.post(RoomDetailViewEvents.OpenRoom(roomId)) } } else { - _viewEvents.post(RoomDetailViewEvents.OpenRoom(existingDmRoomId)) + if (existingDmRoomId != initialState.roomId) { + _viewEvents.post(RoomDetailViewEvents.OpenRoom(existingDmRoomId)) + } } }