From 06c153c5fd1a43ac306dcc303524cf774470b62b Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 18 Mar 2024 15:25:48 +0200 Subject: [PATCH] Add error message for FAILED_GENERIC --- messagetracking.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/messagetracking.go b/messagetracking.go index 5d1b0c1..39fa92e 100644 --- a/messagetracking.go +++ b/messagetracking.go @@ -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 "" }