mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-14 04:53:22 +02:00
Transient list of existing notifications
This commit is contained in:
@@ -149,9 +149,11 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
});
|
||||
|
||||
db.message().liveUnseenNotify().observe(cowner, new Observer<List<TupleMessageEx>>() {
|
||||
private Map<String, List<Long>> notifying = new HashMap<>();
|
||||
|
||||
@Override
|
||||
public void onChanged(List<TupleMessageEx> messages) {
|
||||
Core.notifyMessages(ServiceSynchronize.this, messages);
|
||||
Core.notifyMessages(ServiceSynchronize.this, notifying, messages);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user