Skip to content

Commit 1373bc2

Browse files
authored
Merge pull request #5023 from kobergj/NotificationFeatureToggle
Add notification settings feature toggle
2 parents 014a603 + 75bd4f8 commit 1373bc2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Enhancement: Notification feature toggle
2+
3+
Adds a feature toggle for the notification settings.
4+
5+
https://github.com/cs3org/reva/pull/5023

pkg/owncloud/ocs/capabilities.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,8 @@ type CapabilitiesFilesSharingFederation struct {
288288

289289
// CapabilitiesNotifications holds a list of notification endpoints
290290
type CapabilitiesNotifications struct {
291-
Endpoints []string `json:"ocs-endpoints,omitempty" xml:"ocs-endpoints>element,omitempty" mapstructure:"endpoints"`
291+
Endpoints []string `json:"ocs-endpoints,omitempty" xml:"ocs-endpoints>element,omitempty" mapstructure:"endpoints"`
292+
Configurable bool `json:"configurable" xml:"configurable,omitempty" mapstructure:"configurable"`
292293
}
293294

294295
// CapabilitiesTheme holds theming capabilities

0 commit comments

Comments
 (0)