From 145b5db9474e32ca3430fe35eaa7498d7f26ff95 Mon Sep 17 00:00:00 2001 From: winter Date: Sun, 16 Mar 2025 00:53:52 +0000 Subject: implement poking and such --- routes/preferences.php | 1 + 1 file changed, 1 insertion(+) (limited to 'routes/preferences.php') 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']); -- cgit v1.3