aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2024-06-23 23:02:27 +0200
committerfiaxh <git@lightrise.org>2024-06-23 23:02:27 +0200
commit749a0f1fae4885971bace1daec2ca0bdfba18eb8 (patch)
tree00d15f13d859623c6101af44c3d74e9d54e888e8
parent90ea9c4da4aa885faf7a74ce85c5ec9b1841db2e (diff)
downloaddino-749a0f1fae4885971bace1daec2ca0bdfba18eb8.tar.gz
dino-749a0f1fae4885971bace1daec2ca0bdfba18eb8.zip
Join Channel dialog: Fix displaying of bookmark details
-rw-r--r--main/src/ui/add_conversation/add_conference_dialog.vala2
1 files changed, 1 insertions, 1 deletions
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();