Add error message for FAILED_GENERIC

This commit is contained in:
Tulir Asokan 2024-03-18 15:25:48 +02:00
parent 0456b8c3de
commit 06c153c5fd

View file

@ -70,6 +70,8 @@ func (ose OutgoingStatusError) HumanError() string {
case gmproto.MessageStatusType_OUTGOING_FAILED_RECIPIENT_DID_NOT_DECRYPT,
gmproto.MessageStatusType_OUTGOING_FAILED_RECIPIENT_DID_NOT_DECRYPT_NO_MORE_RETRY:
return "recipient failed to decrypt message"
case gmproto.MessageStatusType_OUTGOING_FAILED_GENERIC:
return "generic carrier error, check google messages and try again"
}
return ""
}