aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/add_conversation/conference
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/add_conversation/conference')
-rw-r--r--main/src/ui/add_conversation/conference/conference_list.vala12
1 files changed, 7 insertions, 5 deletions
diff --git a/main/src/ui/add_conversation/conference/conference_list.vala b/main/src/ui/add_conversation/conference/conference_list.vala
index c44f989a..d11271d8 100644
--- a/main/src/ui/add_conversation/conference/conference_list.vala
+++ b/main/src/ui/add_conversation/conference/conference_list.vala
@@ -43,11 +43,13 @@ protected class ConferenceList : FilterableList {
}
private static void on_conference_bookmarks_received(Core.XmppStream stream, ArrayList<Xep.Bookmarks.Conference> conferences, Object? o) {
- Tuple<ConferenceList, Account> tuple = o as Tuple<ConferenceList, Account>;
- ConferenceList list = tuple.a;
- Account account = tuple.b;
- list.lists[account] = conferences;
- Idle.add(() => { list.refresh_conferences(); return false; });
+ Idle.add(() => {
+ Tuple<ConferenceList, Account> tuple = o as Tuple<ConferenceList, Account>;
+ ConferenceList list = tuple.a;
+ Account account = tuple.b;
+ list.lists[account] = conferences;
+ list.refresh_conferences(); return false;
+ });
}
private void header(ListBoxRow row, ListBoxRow? before_row) {