Update comments.

This commit is contained in:
akwizgran
2022-08-16 14:14:14 +01:00
parent 9990fb3b8f
commit 0af371d026
2 changed files with 5 additions and 1 deletions

View File

@@ -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);