aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_content_view
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2023-09-07 21:30:47 +0200
committerfiaxh <git@lightrise.org>2023-09-07 21:30:47 +0200
commit2fba24ccae13e832bd38ff9c7fea71c1a802603d (patch)
treee4ceb487d1f3e6ba82dbb673eae422b2015732a6 /main/src/ui/conversation_content_view
parentbc5a1d35cbf5c1aca406fa0fe81ca60d6b280bd5 (diff)
downloaddino-2fba24ccae13e832bd38ff9c7fea71c1a802603d.tar.gz
dino-2fba24ccae13e832bd38ff9c7fea71c1a802603d.zip
Fix subscription notification clearing
Diffstat (limited to 'main/src/ui/conversation_content_view')
-rw-r--r--main/src/ui/conversation_content_view/conversation_view.vala6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/src/ui/conversation_content_view/conversation_view.vala b/main/src/ui/conversation_content_view/conversation_view.vala
index cc63037f..4006a02f 100644
--- a/main/src/ui/conversation_content_view/conversation_view.vala
+++ b/main/src/ui/conversation_content_view/conversation_view.vala
@@ -606,6 +606,12 @@ public class ConversationView : Widget, Plugins.ConversationItemCollection, Plug
widget.dispose();
}
widgets.clear();
+
+ Widget? notification = notifications.get_first_child();
+ while (notification != null) {
+ notifications.remove(notification);
+ notification = notifications.get_first_child();
+ }
}
private void clear_notifications() {