]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Update/Channel.php
Simplify query merge, changed update behaviour
[friendica.git] / src / Module / Update / Channel.php
index 099611195771844d26d49867eccca0cc99cb8de7..333c63b2de754b974e3a61fe1a8e02a412b7497c 100644 (file)
@@ -38,7 +38,13 @@ class Channel extends ChannelModule
 
                $o = '';
                if (!empty($request['force'])) {
-                       $o = $this->conversation->render($this->getItems($request), Conversation::MODE_CHANNEL, true, false, 'created', $this->session->getLocalUserId());
+                       if ($this->timeline->isChannel(self::$selectedTab)) {
+                               $items = $this->getChannelItems();
+                       } else {
+                               $items = $this->getCommunityItems();
+                       }
+
+                       $o = $this->conversation->render($items, Conversation::MODE_CHANNEL, true, false, 'created', $this->session->getLocalUserId());
                }
 
                System::htmlUpdateExit($o);