diff --git a/src/session/join_room_dialog.rs b/src/session/join_room_dialog.rs index 0a53ff56..54431f46 100644 --- a/src/session/join_room_dialog.rs +++ b/src/session/join_room_dialog.rs @@ -79,7 +79,9 @@ mod imp { impl MessageDialogImpl for JoinRoomDialog { fn response(&self, response: &str) { - self.obj().join_room(); + if response == "join" { + self.obj().join_room(); + } self.parent_response(response) }