feat: Group Monitoring Components, Enable Host Mode && Deprecate reliabilityLevel and unreadCount in notification.yml (#2975)

* chore: docker config

* chore: docker config

* feat: Group Monitoring Components, Enable Host Mode && Deprecate reliabilityLevel and unreadCount in notification.yml

* feat: Group Monitoring Components, Enable Host Mode && Deprecate reliabilityLevel and unreadCount in notification.yml

* feat: Group Monitoring Components, Enable Host Mode && Deprecate reliabilityLevel and unreadCount in notification.yml

* feat: cicd
This commit is contained in:
icey-yu
2024-12-18 10:45:45 +08:00
committed by GitHub
parent fdc97c6c48
commit 9929bd3ce5
19 changed files with 136 additions and 68 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ func GetProjectRoot() (string, error) {
func GetOptionsByNotification(cfg NotificationConfig) msgprocessor.Options {
opts := msgprocessor.NewOptions()
if cfg.UnreadCount {
if cfg.IsSendMsg {
opts = msgprocessor.WithOptions(opts, msgprocessor.WithUnreadCount(true))
}
if cfg.OfflinePush.Enable {