From 576b699495d253b64c0b96271e87d17fda8da18d Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Mon, 29 May 2023 20:23:50 +0800 Subject: [PATCH] NotificationWithSesstionType --- pkg/rpcclient/msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rpcclient/msg.go b/pkg/rpcclient/msg.go index d89779171..2ed76ff60 100644 --- a/pkg/rpcclient/msg.go +++ b/pkg/rpcclient/msg.go @@ -176,7 +176,7 @@ func (s *NotificationSender) NotificationWithSesstionType(ctx context.Context, s msg.Content = content msg.MsgFrom = constant.SysMsgType msg.ContentType = contentType - msg.SessionType = s.sessionTypeConf[contentType] + msg.SessionType = sesstionType if msg.SessionType == constant.SuperGroupChatType { msg.GroupID = recvID }