mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-04 19:17:37 +08:00
ref: improve protocol display name
This commit is contained in:
parent
6a291840d7
commit
3f4630b6d1
@ -216,7 +216,7 @@ func LoginInteract() {
|
|||||||
time.Sleep(time.Second * 5)
|
time.Sleep(time.Second * 5)
|
||||||
}
|
}
|
||||||
log.Info("开始尝试登录并同步消息...")
|
log.Info("开始尝试登录并同步消息...")
|
||||||
log.Infof("使用协议: %s", device.Protocol)
|
log.Infof("使用协议: %s", device.Protocol.Version())
|
||||||
cli = newClient()
|
cli = newClient()
|
||||||
cli.UseDevice(device)
|
cli.UseDevice(device)
|
||||||
isQRCodeLogin := (base.Account.Uin == 0 || len(base.Account.Password) == 0) && !base.Account.Encrypt
|
isQRCodeLogin := (base.Account.Uin == 0 || len(base.Account.Password) == 0) && !base.Account.Encrypt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user