fix removeExpired in notifications

This commit is contained in:
Milos Kozak 2016-12-08 14:28:21 +01:00
parent 64de2fd736
commit fdd594358c

View file

@ -54,6 +54,7 @@ public class NotificationStore {
Notification n = get(i);
if (n.validTo.getTime() != 0 && n.validTo.getTime() < new Date().getTime()) {
store.remove(i);
i--;
}
}
}