Skip to content

Commit

Permalink
Merge pull request #451 from weakish/convAddedRemoved
Browse files Browse the repository at this point in the history
feat: _conversationAdded/Removed hooks
  • Loading branch information
weakish authored Apr 8, 2020
2 parents f6dcdfd + e8dcb58 commit 2e2c150
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions leancloud/engine/leanengine.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ def dispatch_cloud_func(_cloud_codes, app_params, func_name, decode_object, para
# let's check realtime hook sign first
realtime_hook_funcs = [
'_messageReceived', '_receiversOffline', '_messageSent', '_conversationStart', '_conversationStarted',
'_conversationAdd', '_conversationRemove', '_conversationUpdate', '_clientOnline', '_clientOffline',
'_rtmClientSign'
'_conversationAdd', '_conversationAdded', '_conversationRemove', '_conversationRemoved', '_conversationUpdate',
'_clientOnline', '_clientOffline', '_rtmClientSign',
]
from .authorization import HOOK_KEY
if func_name in realtime_hook_funcs:
Expand Down

0 comments on commit 2e2c150

Please sign in to comment.