aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/preferences.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/preferences.php')
-rw-r--r--routes/preferences.php1
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']);