parent
18c1f1ef31
commit
a346465db5
|
@ -195,8 +195,6 @@ int const OWSLinkedDevicesTableViewControllerSectionAddDevice = 1;
|
|||
{
|
||||
OWSAssertIsOnMainThread();
|
||||
|
||||
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.
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#import "OWSSignalServiceProtos.pb.h"
|
||||
#import "TSAttachment.h"
|
||||
#import "TSAttachmentStream.h"
|
||||
#import "TSContactThread.h"
|
||||
#import "TSGroupModel.h"
|
||||
#import "TSGroupThread.h"
|
||||
|
||||
|
@ -58,7 +59,10 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
enumerateCollectionObjectsWithTransaction:transaction
|
||||
usingBlock:^(id obj, BOOL *stop) {
|
||||
if (![obj isKindOfClass:[TSGroupThread class]]) {
|
||||
DDLogVerbose(@"Ignoring non group thread in thread collection: %@", obj);
|
||||
if (![obj isKindOfClass:[TSContactThread class]]) {
|
||||
DDLogWarn(
|
||||
@"Ignoring non group thread in thread collection: %@", obj);
|
||||
}
|
||||
return;
|
||||
}
|
||||
TSGroupThread *groupThread = (TSGroupThread *)obj;
|
||||
|
|
Loading…
Reference in New Issue