mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 13:49:53 +01:00
Update comments.
This commit is contained in:
@@ -62,6 +62,8 @@ public interface MailboxSettingsManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when we receive our mailbox's server-supported API versions.
|
* Called when we receive our mailbox's server-supported API versions.
|
||||||
|
* This happens whenever we successfully check the connectivity of
|
||||||
|
* our mailbox, so this hook may be called frequently.
|
||||||
*
|
*
|
||||||
* @param txn A read-write transaction
|
* @param txn A read-write transaction
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -216,7 +216,9 @@ class MailboxUpdateManagerImpl implements MailboxUpdateManager,
|
|||||||
Group contactGroup = getContactGroup(c);
|
Group contactGroup = getContactGroup(c);
|
||||||
LatestUpdate latest =
|
LatestUpdate latest =
|
||||||
findLatest(txn, contactGroup.getId(), true);
|
findLatest(txn, contactGroup.getId(), true);
|
||||||
// This method should only be called when we have a mailbox
|
// This method should only be called when we have a mailbox,
|
||||||
|
// in which case we should have sent a local update to every
|
||||||
|
// contact
|
||||||
if (latest == null) throw new DbException();
|
if (latest == null) throw new DbException();
|
||||||
BdfList body =
|
BdfList body =
|
||||||
clientHelper.getMessageAsList(txn, latest.messageId);
|
clientHelper.getMessageAsList(txn, latest.messageId);
|
||||||
|
|||||||
Reference in New Issue
Block a user