mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Renamed a DB event.
This commit is contained in:
@@ -4,7 +4,7 @@ package net.sf.briar.api.db;
|
||||
public interface DatabaseListener {
|
||||
|
||||
static enum Event {
|
||||
ACKS_ADDED,
|
||||
BATCH_RECEIVED,
|
||||
CONTACTS_UPDATED,
|
||||
MESSAGES_ADDED,
|
||||
SUBSCRIPTIONS_UPDATED,
|
||||
|
||||
@@ -937,7 +937,7 @@ DatabaseCleaner.Callback {
|
||||
contactLock.readLock().unlock();
|
||||
}
|
||||
// Call the listeners outside the lock
|
||||
callListeners(Event.ACKS_ADDED);
|
||||
callListeners(Event.BATCH_RECEIVED);
|
||||
if(anyAdded) callListeners(Event.MESSAGES_ADDED);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user