mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +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.
|
||||
* This happens whenever we successfully check the connectivity of
|
||||
* our mailbox, so this hook may be called frequently.
|
||||
*
|
||||
* @param txn A read-write transaction
|
||||
*/
|
||||
|
||||
@@ -216,7 +216,9 @@ class MailboxUpdateManagerImpl implements MailboxUpdateManager,
|
||||
Group contactGroup = getContactGroup(c);
|
||||
LatestUpdate latest =
|
||||
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();
|
||||
BdfList body =
|
||||
clientHelper.getMessageAsList(txn, latest.messageId);
|
||||
|
||||
Reference in New Issue
Block a user