mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 02:58:26 +08:00
fix: shouldPushOffline
This commit is contained in:
parent
d914b3c41c
commit
00a7e03523
@ -187,7 +187,10 @@ func (c *ConsumerHandler) shouldPushOffline(_ context.Context, msg *sdkws.MsgDat
|
|||||||
if !isOfflinePush {
|
if !isOfflinePush {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if msg.ContentType == constant.SignalingNotification {
|
switch msg.ContentType {
|
||||||
|
case constant.RoomParticipantsConnectedNotification:
|
||||||
|
return false
|
||||||
|
case constant.RoomParticipantsDisconnectedNotification:
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user