From 0c19723833731d429e7fddbd27931ade91a0c8ff Mon Sep 17 00:00:00 2001 From: evilbeast Date: Sun, 4 Sep 2022 17:50:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E7=A8=8B=E9=80=80=E5=87=BA=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E9=80=9A=E7=9F=A5MT=5FALL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ntchat/core/wechat.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ntchat/core/wechat.py b/ntchat/core/wechat.py index 8a94790..4181809 100644 --- a/ntchat/core/wechat.py +++ b/ntchat/core/wechat.py @@ -73,6 +73,12 @@ class WeChat: self.status = False self.__msg_event_emitter.emit(str(notify_type.MT_RECV_WECHAT_QUIT_MSG), self) + message = { + "type": notify_type.MT_RECV_WECHAT_QUIT_MSG, + "data": {} + } + self.__msg_event_emitter.emit(str(notify_type.MT_ALL), self, message) + def bind_client_id(self, client_id): self.status = True self.client_id = client_id