diff --git a/bridgestate.go b/bridgestate.go index 88405d1..918d23e 100644 --- a/bridgestate.go +++ b/bridgestate.go @@ -42,7 +42,7 @@ func init() { status.BridgeStateHumanErrors.Update(status.BridgeStateErrorMap{ GMListenError: "Error polling messages from Google Messages server, the bridge will try to reconnect", GMFatalError: "Google Messages token was invalidated, please re-link the bridge", - GMUnpaired: "The bridge was unpaired from Google Messages, please re-link the bridge", + GMUnpaired: "Unpaired from Google Messages, please re-link to continue using the bridge", GMBrowserInactive: "Google Messages opened in another browser", GMBrowserInactiveTimeout: "Google Messages disconnected due to timeout", GMBrowserInactiveInactivity: "Google Messages disconnected due to inactivity", diff --git a/user.go b/user.go index 7708407..579e1bc 100644 --- a/user.go +++ b/user.go @@ -597,7 +597,7 @@ func (user *User) HandleEvent(event interface{}) { switch v := event.(type) { case *events.ListenFatalError: user.Logout(status.BridgeState{ - StateEvent: status.StateBadCredentials, + StateEvent: status.StateUnknownError, Error: GMFatalError, Info: map[string]any{"go_error": v.Error.Error()}, }, false)