mirror of
https://github.com/smallevilbeast/ntchat.git
synced 2026-07-02 02:06:20 +08:00
修复fastapi退出例子
This commit is contained in:
@@ -56,4 +56,4 @@ class ClientManager(metaclass=Singleton):
|
||||
requests.post(self.callback_url, json=client_message)
|
||||
|
||||
def __on_quit_callback(self, wechat):
|
||||
self.__on_callback(wechat, {})
|
||||
self.__on_callback(wechat, {"type": ntchat.MT_RECV_WECHAT_QUIT_MSG, "data": {}})
|
||||
|
||||
Reference in New Issue
Block a user