]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/activitystreamjsondocument.php
Add spam-training, spam-reviewing rights
[quix0rs-gnu-social.git] / lib / activitystreamjsondocument.php
index 6d17075931768e062172820d8f383d0efee9abf7..c67fc5a42f159ecfc485975256fbfbfd0faaafd6 100644 (file)
@@ -168,7 +168,7 @@ class ActivityStreamJSONDocument extends JSONActivityCollection
         $this->doc['generator'] = 'StatusNet ' . STATUSNET_VERSION; // extension
         $this->doc['title'] = $this->title;
         $this->doc['url']   = $this->url;
-        $this->doc['count'] = $this->count;
+        $this->doc['totalItems'] = $this->count;
         $this->doc['items'] = $this->items;
         $this->doc['links'] = $this->links; // extension
         return json_encode(array_filter($this->doc)); // filter out empty elements