Skip to content

Commit af8f565

Browse files
authored
Merge pull request #438 from weakish/rtmClientSign
rtm client sign
2 parents fdd9673 + a080c39 commit af8f565

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

changelog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [2.5.0] - 2019-12-16
2+
### Added
3+
- _rtmClientSign hook
4+
15
## [2.4.0] - 2019-12-11
26
### Added
37
- creating conversations supports `is_unique`

leancloud/engine/leanengine.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ 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', '_clientOnline', '_clientOffline'
201+
'_conversationAdd', '_conversationRemove', '_conversationUpdate', '_clientOnline', '_clientOffline',
202+
'_rtmClientSign'
202203
]
203204
from .authorization import HOOK_KEY
204205
if func_name in realtime_hook_funcs:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
setup(
2727
name='leancloud',
28-
version='2.4.0',
28+
version='2.5.0',
2929
description='LeanCloud Python SDK',
3030
url='https://leancloud.cn/',
3131
author='asaka',

0 commit comments

Comments
 (0)