diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e8ab361..a75ffcc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ and this project adheres to ### Fixed +- User-specific blocked services not applying correctly. - `only application/json is allowed` errors in various APIs ([#4970]). [#4970]: https://github.com/AdguardTeam/AdGuardHome/issues/4970 @@ -39,7 +40,6 @@ See also the [v0.107.15 GitHub milestone][ms-v0.107.15]. --> - ## [v0.107.14] - 2022-09-29 See also the [v0.107.14 GitHub milestone][ms-v0.107.14]. diff --git a/internal/home/clients.go b/internal/home/clients.go index 7396e8c6..61802831 100644 --- a/internal/home/clients.go +++ b/internal/home/clients.go @@ -244,6 +244,10 @@ func (clients *clientsContainer) addFromConfig(objects []*clientObject) { } } + if cli.BlockedServices == nil && cli.UseOwnBlockedServices { + cli.BlockedServices = []string{} + } + for _, t := range o.Tags { if clients.allTags.Has(t) { cli.Tags = append(cli.Tags, t)