Merge pull request #135 from mouyong/patch-1

chore: 避免重复扫码登录问题,减少触发微信的频繁登录
This commit is contained in:
zhayujie
2023-03-15 13:03:16 +08:00
committed by GitHub

View File

@@ -41,7 +41,7 @@ class WechatChannel(Channel):
def startup(self):
# login by scan QRCode
itchat.auto_login(enableCmdQR=2)
itchat.auto_login(enableCmdQR=2, hotReload=True)
# start message listener
itchat.run()