mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-13 13:35:59 +08:00
revoke super group message and push message modify
This commit is contained in:
@@ -94,6 +94,7 @@ func MsgToUser(pushMsg *pbPush.PushMsgReq) {
|
||||
var content string
|
||||
if pushMsg.MsgData.OfflinePushInfo != nil {
|
||||
content = pushMsg.MsgData.OfflinePushInfo.Title
|
||||
jsonCustomContent = pushMsg.MsgData.OfflinePushInfo.Desc
|
||||
|
||||
} else {
|
||||
switch pushMsg.MsgData.ContentType {
|
||||
@@ -225,6 +226,7 @@ func MsgToSuperGroupUser(pushMsg *pbPush.PushMsgReq) {
|
||||
var content string
|
||||
if pushMsg.MsgData.OfflinePushInfo != nil {
|
||||
content = pushMsg.MsgData.OfflinePushInfo.Title
|
||||
jsonCustomContent = pushMsg.MsgData.OfflinePushInfo.Desc
|
||||
|
||||
} else {
|
||||
switch pushMsg.MsgData.ContentType {
|
||||
|
||||
Reference in New Issue
Block a user