From 749a0f1fae4885971bace1daec2ca0bdfba18eb8 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sun, 23 Jun 2024 23:02:27 +0200 Subject: Join Channel dialog: Fix displaying of bookmark details --- main/src/ui/add_conversation/add_conference_dialog.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/src/ui') diff --git a/main/src/ui/add_conversation/add_conference_dialog.vala b/main/src/ui/add_conversation/add_conference_dialog.vala index 551f6713..eac55ffc 100644 --- a/main/src/ui/add_conversation/add_conference_dialog.vala +++ b/main/src/ui/add_conversation/add_conference_dialog.vala @@ -165,7 +165,7 @@ public class AddConferenceDialog : Gtk.Dialog { details_fragment.clear(); ListRow? row = conference_list_box.get_selected_row() != null ? conference_list_box.get_selected_row().get_child() as ListRow : null; - ConferenceListRow? conference_row = conference_list_box.get_selected_row() != null ? conference_list_box.get_selected_row() as ConferenceListRow : null; + ConferenceListRow? conference_row = conference_list_box.get_selected_row() != null ? conference_list_box.get_selected_row().get_child() as ConferenceListRow : null; if (conference_row != null) { details_fragment.account = conference_row.account; details_fragment.jid = conference_row.bookmark.jid.to_string(); -- cgit v1.2.3-70-g09d2