Fix "413 on prekey fetch" errors.

pull/1/head
Matthew Chen 7 years ago
parent 97e234f785
commit 3cc1988f20

@ -1058,7 +1058,9 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
} else { } else {
// This can happen for users who have unregistered. // This can happen for users who have unregistered.
// We still want to try sending to them in case they have re-registered. // We still want to try sending to them in case they have re-registered.
OWSLogWarn(deviceMessages.count > 0); if (deviceMessages.count < 1) {
OWSLogWarn(@"Message send attempt with no device messages.");
}
} }
if (deviceMessages.count == 0) { if (deviceMessages.count == 0) {

Loading…
Cancel
Save