mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-03 00:12:48 +08:00
feat: add recvID/groupID for msg modification callback (#351)
Signed-off-by: soasurs <soasurs@gmail.com>
This commit is contained in:
parent
0bd2c00088
commit
b67c244bbd
@ -147,6 +147,8 @@ func callbackMsgModify(msg *pbChat.SendMsgReq) cbApi.CommonCallbackResp {
|
||||
commonCallbackReq.CallbackCommand = constant.CallbackMsgModifyCommand
|
||||
req := cbApi.CallbackMsgModifyCommandReq{
|
||||
CommonCallbackReq: commonCallbackReq,
|
||||
GroupID: msg.MsgData.GroupID,
|
||||
RecvID: msg.MsgData.RecvID,
|
||||
}
|
||||
resp := &cbApi.CallbackMsgModifyCommandResp{CommonCallbackResp: &callbackResp}
|
||||
defer log.NewDebug(msg.OperationID, utils.GetSelfFuncName(), req, *resp)
|
||||
|
@ -51,6 +51,8 @@ type CallbackAfterConsumeGroupMsgResp struct {
|
||||
}
|
||||
type CallbackMsgModifyCommandReq struct {
|
||||
CommonCallbackReq
|
||||
RecvID string `json:"recvID,omitempty"`
|
||||
GroupID string `json:"groupID,omitempty"`
|
||||
}
|
||||
|
||||
type CallbackMsgModifyCommandResp struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user