proper error code for NOTFOUND

// FREEBIE
This commit is contained in:
Michael Kirk 2017-02-01 19:18:28 -05:00
parent 7b1b706e2a
commit c68073fdb1

View file

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