proper error code for NOTFOUND

// FREEBIE
pull/1/head
Michael Kirk 8 years ago
parent 7b1b706e2a
commit c68073fdb1

@ -29,7 +29,7 @@ NSError *OWSErrorMakeFailedToSendOutgoingMessageError()
NSError *OWSErrorMakeNoSuchSignalRecipientError() NSError *OWSErrorMakeNoSuchSignalRecipientError()
{ {
return OWSErrorWithCodeDescription(OWSErrorCodeFailedToSendOutgoingMessage, return OWSErrorWithCodeDescription(OWSErrorCodeNoSuchSignalRecipient,
NSLocalizedString( NSLocalizedString(
@"ERROR_DESCRIPTION_UNREGISTERED_RECIPIENT", @"Error message when attempting to send message")); @"ERROR_DESCRIPTION_UNREGISTERED_RECIPIENT", @"Error message when attempting to send message"));
} }

Loading…
Cancel
Save