From 6c6e7e3aa7935ec513b7e5ea9b53a92b741ecf92 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 8 Jul 2022 16:33:40 +0200 Subject: Rewrite MAM logic and add MUC MAM --- main/src/ui/add_conversation/conference_list.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main/src/ui') diff --git a/main/src/ui/add_conversation/conference_list.vala b/main/src/ui/add_conversation/conference_list.vala index 454362d0..37abd8ac 100644 --- a/main/src/ui/add_conversation/conference_list.vala +++ b/main/src/ui/add_conversation/conference_list.vala @@ -23,6 +23,7 @@ protected class ConferenceList { this.stream_interactor = stream_interactor; bookmarks_updated_handler_id = stream_interactor.get_module(MucManager.IDENTITY).bookmarks_updated.connect((account, conferences) => { + print(@"$(this == null) $(lists == null)\n"); lists[account] = conferences; refresh_conferences(); }); @@ -69,7 +70,7 @@ protected class ConferenceList { account_widgets_cpy.set_all(widgets[account]); foreach (Jid jid in account_widgets_cpy.keys) { - remove_conference(account, jid); + list_box.remove(widgets[account][jid]); } } -- cgit v1.2.3-70-g09d2