mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-04 16:25:06 -05:00
added missing synchronize when pushing messages from mam backlog
This commit is contained in:
parent
fb97f9d18f
commit
c3e2d2cfba
@ -115,7 +115,9 @@ public class NotificationService {
|
||||
|
||||
public void pushFromBacklog(final Message message) {
|
||||
if (notify(message)) {
|
||||
pushToStack(message);
|
||||
synchronized (notifications) {
|
||||
pushToStack(message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user