Commit 918147fd by 霍志良

fix:改回云信消息通知

parent 41ac8ce0
...@@ -10,7 +10,7 @@ ext { ...@@ -10,7 +10,7 @@ ext {
"m-fm" : "0.0.30.00", "m-fm" : "0.0.30.00",
"m-user" : "0.0.60.37", "m-user" : "0.0.60.37",
"m-home" : "0.0.22.33", "m-home" : "0.0.22.33",
"m-im" : "0.0.18.26", "m-im" : "0.0.18.27",
"m-dynamic" : "0.0.7.13", "m-dynamic" : "0.0.7.13",
"m-article" : "0.0.0.6", "m-article" : "0.0.0.6",
......
...@@ -236,7 +236,7 @@ class IMServiceImpl : IImService { ...@@ -236,7 +236,7 @@ class IMServiceImpl : IImService {
customNotification.sessionId = toUid customNotification.sessionId = toUid
customNotification.config = config customNotification.config = config
customNotification.content = content customNotification.content = content
customNotification.isSendToOnlineUserOnly=false // customNotification.isSendToOnlineUserOnly=false
NIMClient.getService(MsgService::class.java).sendCustomNotification(customNotification).setCallback(object : RequestCallback<Void?> { NIMClient.getService(MsgService::class.java).sendCustomNotification(customNotification).setCallback(object : RequestCallback<Void?> {
override fun onSuccess(param: Void?) { override fun onSuccess(param: Void?) {
callback.onSuccess() callback.onSuccess()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment