Fix broken check

pull/134/head
Niels Andriesse 5 years ago
parent a3e40ffe2b
commit 89caa3b8f7

@ -356,7 +356,7 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
OWSAssertDebug([message.body lengthOfBytesUsingEncoding:NSUTF8StringEncoding] <= kOversizeTextMessageSizeThreshold);
}
if (!message.isGroupChatMessage) {
if (!message.thread.isGroupThread) {
[NSNotificationCenter.defaultCenter postNotificationName:NSNotification.calculatingPoW object:[[NSNumber alloc] initWithUnsignedLongLong:message.timestamp]]; // Not really true but better from a UI point of view
}

Loading…
Cancel
Save