Fix crash on removing conference not in roster (#1516)
This commit is contained in:
parent
384ef1d3f1
commit
22516c1862
|
@ -101,6 +101,7 @@ public class AddConferenceDialog : Gtk.Dialog {
|
||||||
});
|
});
|
||||||
select_fragment.remove_jid.connect((row) => {
|
select_fragment.remove_jid.connect((row) => {
|
||||||
ConferenceListRow conference_row = row as ConferenceListRow;
|
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);
|
stream_interactor.get_module(MucManager.IDENTITY).remove_bookmark(conference_row.account, conference_row.bookmark);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue