RevokeMsg

This commit is contained in:
withchao 2023-05-26 17:14:16 +08:00
parent 5fbfafb1ab
commit c3fca48b9f

View File

@ -53,6 +53,7 @@ func (m *msgServer) RevokeMsg(ctx context.Context, req *msg.RevokeMsgReq) (*msg.
if len(msgs) == 0 { if len(msgs) == 0 {
return nil, errs.ErrRecordNotFound.Wrap("msg not found") return nil, errs.ErrRecordNotFound.Wrap("msg not found")
} }
log.ZInfo(ctx, "GetMsgBySeqs", "conversationID", conversationID, "seq", req.Seq, "msg", msgs[0])
sendID := msgs[0].SendID sendID := msgs[0].SendID
if !tokenverify.IsAppManagerUid(ctx) { if !tokenverify.IsAppManagerUid(ctx) {
if req.GroupID == "" { if req.GroupID == "" {