]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Update/Community.php
Merge remote-tracking branch 'upstream/develop' into user-defined-channels
[friendica.git] / src / Module / Update / Community.php
index 7edb2949bbac47453a9740b970577d84b87b2041..05ea8f828c8292e7d10785dd982cb345116f40e0 100644 (file)
@@ -36,11 +36,11 @@ class Community extends CommunityModule
 {
        protected function rawContent(array $request = [])
        {
-               $this->parseRequest();
+               $this->parseRequest($request);
 
                $o = '';
-               if (!empty($request['force'])) {
-                       $o = DI::conversation()->render(self::getItems(), Conversation::MODE_COMMUNITY, true, false, 'commented', DI::userSession()->getLocalUserId());
+               if ($this->update || $this->force) {
+                       $o = DI::conversation()->render($this->getCommunityItems(), Conversation::MODE_COMMUNITY, true, false, 'commented', DI::userSession()->getLocalUserId());
                }
 
                System::htmlUpdateExit($o);