mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
NotificationWithSesstionType
This commit is contained in:
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…
x
Reference in New Issue
Block a user