From c360b69ca67aa18f02f97ed01bd8717c9faf1d9e Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 23 Feb 2024 20:45:24 +0200 Subject: [PATCH] Update pairing type disconnection error messages --- bridgestate.go | 2 +- user.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bridgestate.go b/bridgestate.go index c76a2f2..e9798a6 100644 --- a/bridgestate.go +++ b/bridgestate.go @@ -56,7 +56,7 @@ func init() { GMBrowserInactiveTimeout: "Google Messages disconnected due to timeout", GMBrowserInactiveInactivity: "Google Messages disconnected due to inactivity", GMPhoneNotResponding: "Your phone is not responding, please check that it is connected to the internet. You may need to open the Messages app on your phone for it to reconnect.", - GMSwitchedToGoogleLogin: "Please switch to the QR code pairing method in the Google Messages app to continue using SMS/RCS", + GMSwitchedToGoogleLogin: "You switched to Google account pairing, please log in to continue using SMS/RCS", }) } diff --git a/user.go b/user.go index 728e595..98aa19a 100644 --- a/user.go +++ b/user.go @@ -812,9 +812,9 @@ func (user *User) handleAccountChange(v *events.AccountChange) { user.switchedToGoogleLogin = v.GetEnabled() || v.IsFake if !v.IsFake { if user.switchedToGoogleLogin { - go user.sendMarkdownBridgeAlert(true, "The bridge will not work when the account-based pairing method is enabled in the Google Messages app. Unlink other devices and switch back to the QR code method to continue using the bridge.") + go user.sendMarkdownBridgeAlert(true, "Switched to Google account pairing, please switch back or relogin with `login-google`.") } else { - go user.sendMarkdownBridgeAlert(false, "Switched back to QR pairing, bridge should work now") + go user.sendMarkdownBridgeAlert(false, "Switched back to QR pairing, bridge should be reconnected") // Assume connection is ready now even if it wasn't before user.ready = true }