Skip to content

Commit

Permalink
feat(capabilities): add notification feature toggle
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <[email protected]>
  • Loading branch information
kobergj committed Dec 30, 2024
1 parent 63047f7 commit 75bd4f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog/unreleased/notification-feature-toggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Enhancement: Notification feature toggle

Adds a feature toggle for the notification settings.

https://github.com/cs3org/reva/pull/5023
3 changes: 2 additions & 1 deletion pkg/owncloud/ocs/capabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 75bd4f8

Please sign in to comment.