fix removeExpired in notifications
This commit is contained in:
parent
64de2fd736
commit
fdd594358c
|
@ -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--;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue