mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-29 22:11:46 +08:00
Merge branch 'shichuang2' into v2.3.0release
This commit is contained in:
commit
2200f757dc
@ -22,6 +22,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
promePkg "Open_IM/pkg/common/prometheus"
|
promePkg "Open_IM/pkg/common/prometheus"
|
||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -137,6 +138,9 @@ func MsgToUser(pushMsg *pbPush.PushMsgReq) {
|
|||||||
title = constant.ContentType2PushContent[constant.Common]
|
title = constant.ContentType2PushContent[constant.Common]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
// detailContent = title
|
||||||
|
}
|
||||||
|
if detailContent == "" {
|
||||||
detailContent = title
|
detailContent = title
|
||||||
}
|
}
|
||||||
pushResult, err := offlinePusher.Push(UIDList, title, detailContent, pushMsg.OperationID, opts)
|
pushResult, err := offlinePusher.Push(UIDList, title, detailContent, pushMsg.OperationID, opts)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user