From 8b3884b2de4cb4a9f3183f9f0d7b2d4c7a1bf958 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 27 May 2021 07:51:30 +0000 Subject: [PATCH] API: Bookmarked posts are starred, not pinned --- src/Module/Api/Mastodon/Bookmarks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Api/Mastodon/Bookmarks.php b/src/Module/Api/Mastodon/Bookmarks.php index fa8f01f92..d5e6b7af4 100644 --- a/src/Module/Api/Mastodon/Bookmarks.php +++ b/src/Module/Api/Mastodon/Bookmarks.php @@ -52,7 +52,7 @@ class Bookmarks extends BaseApi $params = ['order' => ['uri-id' => true], 'limit' => $request['limit']]; - $condition = ['pinned' => true, 'uid' => $uid]; + $condition = ['starred' => true, 'uid' => $uid]; if (!empty($request['max_id'])) { $condition = DBA::mergeConditions($condition, ["`uri-id` < ?", $request['max_id']]);