diff options
| author | winter | 2025-03-16 00:53:52 +0000 |
|---|---|---|
| committer | winter | 2025-03-16 00:53:52 +0000 |
| commit | 145b5db9474e32ca3430fe35eaa7498d7f26ff95 (patch) | |
| tree | df1da516a05cd382e19a815d4e7e6bee314e3007 /routes/preferences.php | |
| parent | a0a86c3a98a6af158ecd2f1923feb752c82907db (diff) | |
implement poking and such
Diffstat (limited to 'routes/preferences.php')
| -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 99b8458..95e7228 100644 --- a/routes/preferences.php +++ b/routes/preferences.php @@ -16,6 +16,7 @@ Router::getInstance()->mount('/fragment/preferences', function (array $args) { if ($_SERVER['REQUEST_METHOD'] == 'POST') { // updating the preferences $user->actor->requestToFollow = $_POST['requestToFollow'] == 'true'; + $user->actor->setPokeable($_POST['pokeable'] == 'true'); $user->actor->save(); $settings->set('interface.smallUnreadIndicators', $_POST['smallIndicators']); $settings->set('locale.timezone', $_POST['timezone']); |
