Add log after SetActiveSession call and fix LoginGoogle error message
This commit is contained in:
parent
fec15f4bc8
commit
2ca85cf2bd
2 changed files with 2 additions and 1 deletions
|
@ -168,6 +168,7 @@ func (c *Client) postConnect() {
|
|||
})
|
||||
return
|
||||
}
|
||||
c.Logger.Debug().Msg("Sent set active session/get updates request")
|
||||
if c.AuthData.Mobile.Network != util.QRNetwork {
|
||||
// Don't check bugle default unless using bugle
|
||||
return
|
||||
|
|
2
user.go
2
user.go
|
@ -534,7 +534,7 @@ func (user *User) LoginGoogle(cookies map[string]string, emojiCallback func(stri
|
|||
user.unlockedDeleteConnection()
|
||||
user.pairSuccessChan = nil
|
||||
user.loginInProgress.Store(false)
|
||||
return fmt.Errorf("failed to connect to Google Messages: %w", err)
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue