diff options
| author | winter | 2025-03-31 19:59:10 +0100 |
|---|---|---|
| committer | winter | 2025-03-31 19:59:10 +0100 |
| commit | 8c3f045ed44bcb27189a605a4b86e5db22fee4d6 (patch) | |
| tree | c5910754bfdf70947605fb4df3281fa49f6a536b /routes | |
| parent | 7e69dc8fa711da59a003dc7f50a16a0e59f0f88c (diff) | |
publish actor when changing preferences
e.g. for follow requests and pokeability
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/preferences.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/preferences.php b/routes/preferences.php index 40e41fd..5492ad8 100644 --- a/routes/preferences.php +++ b/routes/preferences.php @@ -18,6 +18,7 @@ Router::getInstance()->mount('/fragment/preferences', function (array $args) { $user->actor->requestToFollow = $_POST['requestToFollow'] == 'true'; $user->actor->setPokeable($_POST['pokeable'] == 'true'); $user->actor->save(); + $user->actor->publish(); $settings->set('interface.smallUnreadIndicators', $_POST['smallIndicators']); $settings->set('locale.timezone', $_POST['timezone']); $settings->set('profile.rssEnabled', $_POST['rssEnabled']); |
