|
|
@ -53,7 +53,8 @@ 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])
|
|
|
|
data, _ := json.Marshal(msgs[0])
|
|
|
|
|
|
|
|
log.ZInfo(ctx, "GetMsgBySeqs", "conversationID", conversationID, "seq", req.Seq, "msg", string(data))
|
|
|
|
sendID := msgs[0].SendID
|
|
|
|
sendID := msgs[0].SendID
|
|
|
|
if !tokenverify.IsAppManagerUid(ctx) {
|
|
|
|
if !tokenverify.IsAppManagerUid(ctx) {
|
|
|
|
if req.GroupID == "" {
|
|
|
|
if req.GroupID == "" {
|
|
|
|