|
|
@ -100,7 +100,10 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
[interactionsByThread enumerateKeysInGroup:self.uniqueId
|
|
|
|
[interactionsByThread enumerateKeysInGroup:self.uniqueId
|
|
|
|
usingBlock:^(NSString *collection, NSString *key, NSUInteger index, BOOL *stop) {
|
|
|
|
usingBlock:^(NSString *collection, NSString *key, NSUInteger index, BOOL *stop) {
|
|
|
|
if (![key isKindOfClass:[NSString class]] || key.length < 1) {
|
|
|
|
if (![key isKindOfClass:[NSString class]] || key.length < 1) {
|
|
|
|
OWSProdLogAndFail(@"%@ invalid key in thread interactions.", self.logTag);
|
|
|
|
OWSProdLogAndFail(@"%@ invalid key in thread interactions: %@, %@.",
|
|
|
|
|
|
|
|
self.logTag,
|
|
|
|
|
|
|
|
key,
|
|
|
|
|
|
|
|
[key class]);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
[interactionIds addObject:key];
|
|
|
|
[interactionIds addObject:key];
|
|
|
|