aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/gui/main/UINotificationGroup.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/impl/gui/main/UINotificationGroup.java')
-rw-r--r--src/net/java/sip/communicator/impl/gui/main/UINotificationGroup.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/UINotificationGroup.java b/src/net/java/sip/communicator/impl/gui/main/UINotificationGroup.java
index a2e3673..fb14645 100644
--- a/src/net/java/sip/communicator/impl/gui/main/UINotificationGroup.java
+++ b/src/net/java/sip/communicator/impl/gui/main/UINotificationGroup.java
@@ -99,7 +99,12 @@ public class UINotificationGroup
{
synchronized (unreadNotifications)
{
+ List<UINotification> copy = new ArrayList<>(unreadNotifications);
unreadNotifications.clear();
+ for (UINotification n : copy)
+ {
+ UINotificationManager.fireClearedEvent(n);
+ }
}
}