X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/6b106efb4f8497f1bd9dc334683751508caa176e..91d3a96bb7741ba92d2d3d7a7dc7d18e0d79688f:/api/posts_get.php
diff --git a/api/posts_get.php b/api/posts_get.php
index d54f86a..2c875ec 100644
--- a/api/posts_get.php
+++ b/api/posts_get.php
@@ -54,8 +54,14 @@ foreach ($bookmarks['bookmarks'] as $row) {
} else {
$taglist = 'system:unfiled';
}
+ // The privacy setting in scuttle is to set bStatus to 2 in database.
+ if(trim($row['bStatus']) == '2') {
+ $shared = "no";
+ } else {
+ $shared = "yes";
+ }
- echo "\t\r\n";
+ echo "\t\r\n";
}
echo '';