mirror of
https://github.com/smallevilbeast/ntchat.git
synced 2025-05-23 05:16:07 +08:00
进程退出消息通知MT_ALL
This commit is contained in:
parent
f0f2e445f2
commit
0c19723833
|
@ -73,6 +73,12 @@ class WeChat:
|
||||||
self.status = False
|
self.status = False
|
||||||
self.__msg_event_emitter.emit(str(notify_type.MT_RECV_WECHAT_QUIT_MSG), self)
|
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):
|
def bind_client_id(self, client_id):
|
||||||
self.status = True
|
self.status = True
|
||||||
self.client_id = client_id
|
self.client_id = client_id
|
||||||
|
|
Loading…
Reference in New Issue
Block a user