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

This commit is contained in:
Kévin Commaille 2023-04-10 14:38:13 +02:00
parent e1cf9049be
commit 3f1ee31404
No known key found for this signature in database
GPG key ID: DD507DAE96E8245C

View file

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