mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
singal offline push
This commit is contained in:
parent
6ec65965a4
commit
07b652c1d4
@ -3,7 +3,7 @@ source ./path_info.cfg
|
|||||||
|
|
||||||
# images version
|
# images version
|
||||||
version=v2.0.10k
|
version=v2.0.10k
|
||||||
|
git pull
|
||||||
cd ../script/; ./build_all_service.sh
|
cd ../script/; ./build_all_service.sh
|
||||||
cd ../deploy_k8s/
|
cd ../deploy_k8s/
|
||||||
|
|
||||||
|
@ -146,7 +146,7 @@ func GetOfflinePushOpts(pushMsg *pbPush.PushMsgReq) (opts push.PushOpts, err err
|
|||||||
if pushMsg.MsgData.ContentType < constant.SignalingNotificationEnd && pushMsg.MsgData.ContentType > constant.SignalingNotificationBegin {
|
if pushMsg.MsgData.ContentType < constant.SignalingNotificationEnd && pushMsg.MsgData.ContentType > constant.SignalingNotificationBegin {
|
||||||
req := &pbRtc.SignalReq{}
|
req := &pbRtc.SignalReq{}
|
||||||
if err := proto.Unmarshal(pushMsg.MsgData.Content, req); err != nil {
|
if err := proto.Unmarshal(pushMsg.MsgData.Content, req); err != nil {
|
||||||
return opts, err
|
return opts, utils.Wrap(err, "")
|
||||||
}
|
}
|
||||||
log.NewDebug(pushMsg.OperationID, utils.GetSelfFuncName(), "SignalReq: ", req.String())
|
log.NewDebug(pushMsg.OperationID, utils.GetSelfFuncName(), "SignalReq: ", req.String())
|
||||||
switch req.Payload.(type) {
|
switch req.Payload.(type) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user