|
@@ -47,7 +47,7 @@ type BridgeErrorCode string
|
|
|
|
|
|
const (
|
|
|
WALoggedOut BridgeErrorCode = "wa-logged-out"
|
|
|
- WAAccountBanned BridgeErrorCode = "wa-account-banned"
|
|
|
+ WAMainDeviceGone BridgeErrorCode = "wa-main-device-gone"
|
|
|
WAUnknownLogout BridgeErrorCode = "wa-unknown-logout"
|
|
|
WANotConnected BridgeErrorCode = "wa-not-connected"
|
|
|
WAConnecting BridgeErrorCode = "wa-connecting"
|
|
@@ -58,7 +58,7 @@ const (
|
|
|
|
|
|
var bridgeHumanErrors = map[BridgeErrorCode]string{
|
|
|
WALoggedOut: "You were logged out from another device. Relogin to continue using the bridge.",
|
|
|
- WAAccountBanned: "Your account was banned from WhatsApp. You can contact support from the WhatsApp mobile app on your phone.",
|
|
|
+ WAMainDeviceGone: "Your phone was logged out from WhatsApp. Relogin to continue using the bridge.",
|
|
|
WAUnknownLogout: "You were logged out for an unknown reason. Relogin to continue using the bridge.",
|
|
|
WANotConnected: "You're not connected to WhatsApp",
|
|
|
WAConnecting: "Reconnecting to WhatsApp...",
|