NotificationWithSesstionType

test-errcode
withchao 2 years ago
parent 6e08f66ba7
commit 576b699495

@ -176,7 +176,7 @@ func (s *NotificationSender) NotificationWithSesstionType(ctx context.Context, s
msg.Content = content msg.Content = content
msg.MsgFrom = constant.SysMsgType msg.MsgFrom = constant.SysMsgType
msg.ContentType = contentType msg.ContentType = contentType
msg.SessionType = s.sessionTypeConf[contentType] msg.SessionType = sesstionType
if msg.SessionType == constant.SuperGroupChatType { if msg.SessionType == constant.SuperGroupChatType {
msg.GroupID = recvID msg.GroupID = recvID
} }

Loading…
Cancel
Save