workMoments

This commit is contained in:
wangchuxiao
2022-04-21 16:14:26 +08:00
parent 5eef365baf
commit ff85575e98
3 changed files with 6 additions and 6 deletions
@@ -11,7 +11,7 @@ import (
)
func WorkMomentSendNotification(operationID, sendID, recvID string, notificationMsg *pbOffice.WorkMomentNotificationMsg) {
log.NewInfo(operationID, utils.GetSelfFuncName(), recvID)
log.NewInfo(operationID, utils.GetSelfFuncName(), sendID, recvID, notificationMsg)
WorkMomentNotification(operationID, sendID, recvID, notificationMsg)
}
@@ -29,7 +29,7 @@ func WorkMomentNotification(operationID, sendID, recvID string, m proto.Message)
RecvID: recvID,
MsgFrom: constant.UserMsgType,
ContentType: constant.WorkMomentNotification,
SessionType: constant.UserMsgType,
SessionType: constant.SingleChatType,
OperationID: operationID,
}
n.Content, err = proto.Marshal(m)