Skip to content

Commit 3d23bb3

Browse files
committed
enable by default for new users
1 parent ccc05ad commit 3d23bb3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

includes/class-migration.php

+8
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,14 @@ private static function add_activitypub_capability() {
471471
}
472472
}
473473

474+
/**
475+
* Add default notification settings.
476+
*/
477+
private static function add_notification_defaults() {
478+
\update_option( 'activitypub_mailer_new_follower', '1', false );
479+
\update_option( 'activitypub_mailer_new_dm', '1', false );
480+
}
481+
474482
/**
475483
* Rename meta keys.
476484
*

0 commit comments

Comments
 (0)