-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove hardcoded notifications capability #1805
Comments
Hi @pascalwengerter, what do you need? To omit the value or to set it to something else? |
I'd vote in favor of omitting it since from my understanding that's how non-boolean values are being treated so far (?) |
@pascalwengerter from the code looks like this capability is not a boolean.
The default would be an empty array. |
Fine with me, too. Checking for an array length feels way cleaner than doing |
@pascalwengerter great, so we need the oc QA team to evaluate if changing the test to use an empty array will not break other things, I'll create a PR to check what goes wrong. |
Just found out that the ownCloud web frontend incorrectly checks for notifications since the notifications capability in Reva, for historical reasons and contrary to the behavior in other capability cases, returns an array with a
"disable"
string (reva/tests/oc-integration-tests/local/frontend.toml
Line 110 in a8c6140
To make it consistent we shouldn't return anything here until Reva/oCIS is capable of handling notifications.
Glad to take care of this myself when the time comes but also don't want to cause a breaking change in the Semver for this minor nitpicky issue
The text was updated successfully, but these errors were encountered: