提交 7c6dd67d 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

better check for scan url & code

上级 86179384
......@@ -170,8 +170,7 @@ return (function(port) {
// 408: 未确认
var code = +Wechaty.glue.loginScope.code
var url = Wechaty.glue.loginScope.qrcodeUrl
if (typeof code !== 'undefined' && code !== null
&& code !== Wechaty.vars.scanCode) {
if (url && code !== Wechaty.vars.scanCode) {
log('checkScan() - code change detected. from '
+ Wechaty.vars.scanCode
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册