diff --git a/channel/wechat/wechat_channel.py b/channel/wechat/wechat_channel.py index 0dde4f084..c1508b577 100644 --- a/channel/wechat/wechat_channel.py +++ b/channel/wechat/wechat_channel.py @@ -127,6 +127,8 @@ def startup(self): hotReload=hotReload, statusStorageDir=status_path, qrCallback=qrCallback, + loginCallback=self.login_callback, + exitCallback=self.logout_callback ) self.user_id = itchat.instance.storageClass.userName self.name = itchat.instance.storageClass.nickName