|
@@ -33,6 +33,7 @@ const (
|
|
WAKeepaliveTimeout status.BridgeStateErrorCode = "wa-keepalive-timeout"
|
|
WAKeepaliveTimeout status.BridgeStateErrorCode = "wa-keepalive-timeout"
|
|
WAPhoneOffline status.BridgeStateErrorCode = "wa-phone-offline"
|
|
WAPhoneOffline status.BridgeStateErrorCode = "wa-phone-offline"
|
|
WAConnectionFailed status.BridgeStateErrorCode = "wa-connection-failed"
|
|
WAConnectionFailed status.BridgeStateErrorCode = "wa-connection-failed"
|
|
|
|
+ WADisconnected status.BridgeStateErrorCode = "wa-transient-disconnect"
|
|
)
|
|
)
|
|
|
|
|
|
func init() {
|
|
func init() {
|
|
@@ -45,6 +46,7 @@ func init() {
|
|
WAKeepaliveTimeout: "The WhatsApp web servers are not responding. The bridge will try to reconnect.",
|
|
WAKeepaliveTimeout: "The WhatsApp web servers are not responding. The bridge will try to reconnect.",
|
|
WAPhoneOffline: "Your phone hasn't been seen in over 12 days. The bridge is currently connected, but will get disconnected if you don't open the app soon.",
|
|
WAPhoneOffline: "Your phone hasn't been seen in over 12 days. The bridge is currently connected, but will get disconnected if you don't open the app soon.",
|
|
WAConnectionFailed: "Connecting to the WhatsApp web servers failed.",
|
|
WAConnectionFailed: "Connecting to the WhatsApp web servers failed.",
|
|
|
|
+ WADisconnected: "Disconnected from WhatsApp. Trying to reconnect.",
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|