mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 18:36:19 +08:00
RevokeMsg
This commit is contained in:
parent
5fbfafb1ab
commit
c3fca48b9f
@ -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 == "" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user