From 864c733a4b88a1ce38f34c86f0de7a9134c4bd11 Mon Sep 17 00:00:00 2001 From: Tiga Date: Mon, 25 Sep 2023 14:50:55 +0800 Subject: [PATCH] Update wechat_channel.py --- channel/wechat/wechat_channel.py | 2 ++ 1 file changed, 2 insertions(+) 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