fix: Set public link upload email notification to opt-in

This now sets `isDefaultEnabled` to false. This makes email notifications for file uploads
to public links disabled by default (opt-in) for users.

This addresses concerns about new notifications being enabled by
default for existing users, leading to unexpected emails.

Related: https://github.com/nextcloud/server/pull/46945

Signed-off-by: nfebe <fenn25.fn@gmail.com>
pull/53549/head
nfebe 2025-06-04 12:45:12 +07:00 committed by backportbot[bot]
parent 5f63c89955
commit ae56da1375
1 changed files with 1 additions and 1 deletions

@ -61,6 +61,6 @@ class PublicLinksUpload extends ShareActivitySettings {
* @since 11.0.0
*/
public function isDefaultEnabledMail() {
return true;
return false;
}
}