Undo bad credentials state on non-default sms app
This commit is contained in:
parent
51c68f4919
commit
0ddfd65b8b
1 changed files with 0 additions and 4 deletions
4
user.go
4
user.go
|
@ -803,10 +803,6 @@ func (user *User) FillBridgeState(state status.BridgeState) status.BridgeState {
|
|||
state.Info["battery_low"] = user.batteryLow
|
||||
state.Info["mobile_data"] = user.mobileData
|
||||
state.Info["browser_active"] = user.browserInactiveType == ""
|
||||
if user.Settings.SettingsReceived && !user.Settings.IsDefaultSMSApp {
|
||||
state.StateEvent = status.StateBadCredentials
|
||||
state.Error = GMNotDefaultSMSApp
|
||||
}
|
||||
if !user.ready {
|
||||
state.StateEvent = status.StateConnecting
|
||||
state.Error = GMConnecting
|
||||
|
|
Loading…
Reference in a new issue