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