work moments

This commit is contained in:
wangchuxiao
2022-04-26 15:05:23 +08:00
parent 338acfba75
commit 39822f323f
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -453,7 +453,7 @@ func (s *officeServer) CommentOneWorkMoment(_ context.Context, req *pbOffice.Com
if req.UserID != workMoment.UserID {
msg.WorkMomentSendNotification(req.OperationID, workMoment.UserID, workMomentNotificationMsg)
}
if req.ReplyUserID != "" {
if req.ReplyUserID != "" && req.ReplyUserID != req.UserID {
msg.WorkMomentSendNotification(req.OperationID, req.ReplyUserID, workMomentNotificationMsg)
}
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "resp: ", resp.String())