]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Api/Mastodon/Conversations.php
Merge pull request #10362 from tobiasd/2021.06-CHANGELOG
[friendica.git] / src / Module / Api / Mastodon / Conversations.php
index 0340478c6b1ac07fe0658437e5ca86b36e1ad93a..22774b57ce03661a29db0ea85e2098b4b3c9bd55 100644 (file)
@@ -85,6 +85,7 @@ class Conversations extends BaseApi
                $conversations = [];
 
                while ($conv = DBA::fetch($convs)) {
+                       self::setBoundaries($conv['id']);
                        $conversations[] = DI::mstdnConversation()->CreateFromConvId($conv['id']);
                }
 
@@ -94,6 +95,7 @@ class Conversations extends BaseApi
                        array_reverse($conversations);
                }
 
+               self::setLinkHeader();
                System::jsonExit($conversations);
        }
 }