diff options
author | eerielili <lionel@les-miquelots.net> | 2024-01-10 20:20:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 21:20:50 +0100 |
commit | 22516c186285ed4723644ef790d1fe0ce43a0bf1 (patch) | |
tree | 8ffb85b8e8f6b6c24b6c1fcc4f7a90030dc314f6 /main/src/ui | |
parent | 384ef1d3f15c82af1a4647b0ee704f77919ff2b1 (diff) | |
download | dino-22516c186285ed4723644ef790d1fe0ce43a0bf1.tar.gz dino-22516c186285ed4723644ef790d1fe0ce43a0bf1.zip |
Fix crash on removing conference not in roster (#1516)
Diffstat (limited to 'main/src/ui')
-rw-r--r-- | main/src/ui/add_conversation/add_conference_dialog.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/ui/add_conversation/add_conference_dialog.vala b/main/src/ui/add_conversation/add_conference_dialog.vala index 4b7364c7..c5e4ac51 100644 --- a/main/src/ui/add_conversation/add_conference_dialog.vala +++ b/main/src/ui/add_conversation/add_conference_dialog.vala @@ -101,6 +101,7 @@ public class AddConferenceDialog : Gtk.Dialog { }); select_fragment.remove_jid.connect((row) => { ConferenceListRow conference_row = row as ConferenceListRow; + if (conference_row == null) return; stream_interactor.get_module(MucManager.IDENTITY).remove_bookmark(conference_row.account, conference_row.bookmark); }); |