Add error message for FAILED_GENERIC
This commit is contained in:
parent
0456b8c3de
commit
06c153c5fd
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ func (ose OutgoingStatusError) HumanError() string {
|
||||||
case gmproto.MessageStatusType_OUTGOING_FAILED_RECIPIENT_DID_NOT_DECRYPT,
|
case gmproto.MessageStatusType_OUTGOING_FAILED_RECIPIENT_DID_NOT_DECRYPT,
|
||||||
gmproto.MessageStatusType_OUTGOING_FAILED_RECIPIENT_DID_NOT_DECRYPT_NO_MORE_RETRY:
|
gmproto.MessageStatusType_OUTGOING_FAILED_RECIPIENT_DID_NOT_DECRYPT_NO_MORE_RETRY:
|
||||||
return "recipient failed to decrypt message"
|
return "recipient failed to decrypt message"
|
||||||
|
case gmproto.MessageStatusType_OUTGOING_FAILED_GENERIC:
|
||||||
|
return "generic carrier error, check google messages and try again"
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue