RevokeMsg

This commit is contained in:
withchao
2023-05-26 17:32:48 +08:00
parent 668f213974
commit f1d2d4321c
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ func (m *msgServer) RevokeMsg(ctx context.Context, req *msg.RevokeMsgReq) (*msg.
sessionType = constant.SuperGroupChatType
conversationID = utils.GenConversationUniqueKeyForGroup(req.GroupID)
}
msgs, err := m.MsgDatabase.GetMsgBySeqs(ctx, req.RecvID, conversationID, []int64{req.Seq})
msgs, err := m.MsgDatabase.GetMsgBySeqs(ctx, req.UserID, conversationID, []int64{req.Seq})
if err != nil {
return nil, err
}