From 6e08f66ba7e8b70507e4d4e1366e965c7b1dfc65 Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Mon, 29 May 2023 20:20:44 +0800 Subject: [PATCH] RevokeMsg --- internal/rpc/msg/revoke.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rpc/msg/revoke.go b/internal/rpc/msg/revoke.go index 3e1b64ff6..3bfb200c9 100644 --- a/internal/rpc/msg/revoke.go +++ b/internal/rpc/msg/revoke.go @@ -96,7 +96,7 @@ func (m *msgServer) RevokeMsg(ctx context.Context, req *msg.RevokeMsgReq) (*msg. } else { recvID = msgs[0].RecvID } - if err := m.notificationSender.Notification(ctx, req.UserID, recvID, constant.MsgRevokeNotification, &tips, utils.WithSendMsg(false), utils.WithHistory(true), utils.WithPersistent()); err != nil { + if err := m.notificationSender.NotificationWithSesstionType(ctx, req.UserID, recvID, constant.MsgRevokeNotification, msgs[0].SessionType, &tips); err != nil { return nil, err } return &msg.RevokeMsgResp{}, nil