Clean up ahead of PR.

This commit is contained in:
Matthew Chen 2017-12-12 16:33:39 -05:00
parent 0c9d9ba679
commit e45d63e862
2 changed files with 6 additions and 0 deletions

View file

@ -2788,6 +2788,9 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) {
DDLogVerbose(@"%@ %s", self.logTag, __PRETTY_FUNCTION__);
// External database modifications can't be converted into incremental updates,
// so rebuild everything. This is expensive and usually isn't necessary, but
// there's no alternative.
[self resetMappings];
}

View file

@ -929,6 +929,9 @@ typedef NS_ENUM(NSInteger, CellState) { kArchiveState, kInboxState };
DDLogVerbose(@"%@ %s", self.logTag, __PRETTY_FUNCTION__);
// External database modifications can't be converted into incremental updates,
// so rebuild everything. This is expensive and usually isn't necessary, but
// there's no alternative.
[self resetMappings];
}