Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

Commit

Permalink
去掉poll时的1202代码
Browse files Browse the repository at this point in the history
  • Loading branch information
pandolia committed May 25, 2017
1 parent d8e3d3a commit bb176f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2017-05-25 qqbot v2.2.16
1) 因协议调整, poll 消息时不再忽略 1202 代码。

2017-05-24 qqbot v2.2.15
1) 去掉 flask ,采用简单的 socket server 来显示二维码。
2) 因 webqq 协议调整,已可收到自己通过其他客户端发送的群消息。
Expand Down
2 changes: 1 addition & 1 deletion qqbot/basicqsession.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def Poll(self):
},
Referer = ('http://d1.web2.qq.com/proxy.html?v=20151105001&'
'callback=1&id=2'),
expectedCodes = (0, 100003, 100100, 1202)
expectedCodes = (0, 100003, 100100)
)
except RequestError:
ERROR('接收消息出错,开始测试登录 cookie 是否过期...')
Expand Down
2 changes: 1 addition & 1 deletion qqbot/qconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
if p not in sys.path:
sys.path.insert(0, p)

version = 'v2.2.15'
version = 'v2.2.16'

sampleConfStr = '''{
Expand Down

0 comments on commit bb176f5

Please sign in to comment.