join-room: Don't try to join room on cancel
This commit is contained in:
parent
e1cf9049be
commit
3f1ee31404
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue