Clean up ahead of PR.

pull/1/head
Matthew Chen 7 years ago
parent d76bdf3a58
commit f5ba8048b7

@ -88,7 +88,7 @@ public class ConversationMediaView: UIView {
} }
guard attachmentPointer.pointerType == .incoming else { guard attachmentPointer.pointerType == .incoming else {
// TODO: Show "restoring" indicator and possibly progress. // TODO: Show "restoring" indicator and possibly progress.
owsFailDebug("Attachment is restorying from backup.") owsFailDebug("Attachment is restoring from backup.")
configure(forError: .missing) configure(forError: .missing)
return return
} }

@ -566,7 +566,7 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
} }
} else { } else {
// Neither a group nor contact thread? This should never happen. // Neither a group nor contact thread? This should never happen.
OWSLogError(@"Unknown message type: %@", [message class]); OWSFailDebug(@"Unknown message type: %@", [message class]);
NSError *error = OWSErrorMakeFailedToSendOutgoingMessageError(); NSError *error = OWSErrorMakeFailedToSendOutgoingMessageError();
[error setIsRetryable:NO]; [error setIsRetryable:NO];
*errorHandle = error; *errorHandle = error;

Loading…
Cancel
Save