diff --git a/changelog/unreleased/notification-feature-toggle.md b/changelog/unreleased/notification-feature-toggle.md new file mode 100644 index 0000000000..70659cc083 --- /dev/null +++ b/changelog/unreleased/notification-feature-toggle.md @@ -0,0 +1,5 @@ +Enhancement: Notification feature toggle + +Adds a feature toggle for the notification settings. + +https://github.com/cs3org/reva/pull/5023 diff --git a/pkg/owncloud/ocs/capabilities.go b/pkg/owncloud/ocs/capabilities.go index 1f4bcdab6f..8d754cd750 100644 --- a/pkg/owncloud/ocs/capabilities.go +++ b/pkg/owncloud/ocs/capabilities.go @@ -288,7 +288,8 @@ type CapabilitiesFilesSharingFederation struct { // CapabilitiesNotifications holds a list of notification endpoints type CapabilitiesNotifications struct { - Endpoints []string `json:"ocs-endpoints,omitempty" xml:"ocs-endpoints>element,omitempty" mapstructure:"endpoints"` + Endpoints []string `json:"ocs-endpoints,omitempty" xml:"ocs-endpoints>element,omitempty" mapstructure:"endpoints"` + Configurable bool `json:"configurable" xml:"configurable,omitempty" mapstructure:"configurable"` } // CapabilitiesTheme holds theming capabilities