Skip to content

Commit 6e2c65a

Browse files
committed
feat: add _client{On,Off}line hooks
1 parent cf3aef9 commit 6e2c65a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

leancloud/engine/leanengine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def dispatch_cloud_func(_cloud_codes, app_params, func_name, decode_object, para
198198
# let's check realtime hook sign first
199199
realtime_hook_funcs = [
200200
'_messageReceived', '_receiversOffline', '_messageSent', '_conversationStart', '_conversationStarted',
201-
'_conversationAdd', '_conversationRemove', '_conversationUpdate'
201+
'_conversationAdd', '_conversationRemove', '_conversationUpdate', '_clientOnline', '_clientOffline'
202202
]
203203
from .authorization import HOOK_KEY
204204
if func_name in realtime_hook_funcs:

0 commit comments

Comments
 (0)