]> git.mxchange.org Git - friendica.git/blobdiff - include/api.php
disable formatbar in xs screens
[friendica.git] / include / api.php
index 7450d650eb4f90ed7b31d0aaa4dba261e400815d..f40674b8941968a3e351dcc43981f98deed32b95 100644 (file)
@@ -2888,6 +2888,7 @@ function api_format_items($r, $user_info, $filter_user = false, $type = "json")
                        'favorited' => $item['starred'] ? true : false,
                        'user' =>  $status_user ,
                        'friendica_owner' => $owner_user,
+                       'friendica_private' => $item['private'] == 1,
                        //'entities' => NULL,
                        'statusnet_html' => $converted["html"],
                        'statusnet_conversation_id' => $item['parent'],