diff --git a/telegram/connect.go b/telegram/connect.go index 92ec227ce..84f77d5e5 100644 --- a/telegram/connect.go +++ b/telegram/connect.go @@ -65,7 +65,7 @@ func (c *Client) isPermanentError(err error) bool { if errors.Is(err, exchange.ErrKeyFingerprintNotFound) { return true } - if tgerr.Is(err, "AUTH_KEY_UNREGISTERED", "SESSION_EXPIRED") { + if tgerr.Is(err, "AUTH_KEY_UNREGISTERED", "SESSION_EXPIRED", "AUTH_KEY_DUPLICATED") { return true } if auth.IsUnauthorized(err) {