mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-26 21:22:16 +08:00
feat: Group Monitoring Components, Enable Host Mode && Deprecate reliabilityLevel and unreadCount in notification.yml
This commit is contained in:
parent
9db434ff5c
commit
ee3315ccfe
@ -61,7 +61,7 @@ func GetProjectRoot() (string, error) {
|
|||||||
func GetOptionsByNotification(cfg NotificationConfig) msgprocessor.Options {
|
func GetOptionsByNotification(cfg NotificationConfig) msgprocessor.Options {
|
||||||
opts := msgprocessor.NewOptions()
|
opts := msgprocessor.NewOptions()
|
||||||
|
|
||||||
if cfg.UnreadCount {
|
if cfg.IsSendMsg {
|
||||||
opts = msgprocessor.WithOptions(opts, msgprocessor.WithUnreadCount(true))
|
opts = msgprocessor.WithOptions(opts, msgprocessor.WithUnreadCount(true))
|
||||||
}
|
}
|
||||||
if cfg.OfflinePush.Enable {
|
if cfg.OfflinePush.Enable {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user