summaryrefslogtreecommitdiff
path: root/controllers/controllers.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2019-09-29 15:36:59 +0200
committerAaron Parecki <aaron@parecki.com>2019-09-29 15:36:59 +0200
commitf0c5635c2f072448808f35990b7f8abd84b9607d (patch)
tree47984c59c55a834c2ca2c2ae4388df2a6a5b6857 /controllers/controllers.php
parentefe16c375a202cff5c2b07e3c7fb273a2e8bec16 (diff)
add a dropdown to choose post visibility
Diffstat (limited to 'controllers/controllers.php')
-rw-r--r--controllers/controllers.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/controllers/controllers.php b/controllers/controllers.php
index 2cbe56e..bf1cb86 100644
--- a/controllers/controllers.php
+++ b/controllers/controllers.php
@@ -72,6 +72,7 @@ $app->get('/new', function() use($app) {
'micropub_access_token' => $user->micropub_access_token,
'response_date' => $user->last_micropub_response_date,
'syndication_targets' => json_decode($user->syndication_targets, true),
+ 'supported_visibility' => json_decode($user->supported_visibility, true),
'location_enabled' => $user->location_enabled,
'user' => $user,
'authorizing' => false