NotificationWithSesstionType

This commit is contained in:
withchao 2023-05-29 20:23:50 +08:00
parent 6e08f66ba7
commit 576b699495

View File

@ -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
}