Browse Source

join-room: Don't try to join room on cancel

merge-requests/1327/merge
Kévin Commaille 3 years ago
parent
commit
3f1ee31404
No known key found for this signature in database
GPG Key ID: DD507DAE96E8245C
  1. 4
      src/session/join_room_dialog.rs

4
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)
}

Loading…
Cancel
Save