mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-06-26 20:38:25 +08:00
音视频通话记录,会话不显示
This commit is contained in:
parent
35371dde66
commit
bff3d4994a
@ -627,6 +627,7 @@ func signalingMsgOptions() map[string]bool {
|
||||
// IsNotNotification=false 表示"这是通知消息",让 IsNotificationByMsg 返回 true
|
||||
// 从而跳过 modifyMessageByUserMessageReceiveOpt 中的黑名单/好友关系等校验
|
||||
datautil.SetSwitchFromOptions(opts, constant.IsNotNotification, false)
|
||||
datautil.SetSwitchFromOptions(opts, constant.IsSendMsg, false)
|
||||
datautil.SetSwitchFromOptions(opts, constant.IsHistory, false)
|
||||
datautil.SetSwitchFromOptions(opts, constant.IsPersistent, false)
|
||||
datautil.SetSwitchFromOptions(opts, constant.IsUnreadCount, false)
|
||||
|
||||
@ -44,7 +44,7 @@ func NewOptions(opts ...OptionsOpt) Options {
|
||||
func NewMsgOptions() Options {
|
||||
options := make(map[string]bool, 11)
|
||||
options[constant.IsOfflinePush] = false
|
||||
return make(map[string]bool)
|
||||
return options
|
||||
}
|
||||
|
||||
func WithOptions(options Options, opts ...OptionsOpt) Options {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user