. * */ namespace Friendica\Module\Update; use Friendica\Content\Conversation; use Friendica\Core\System; use Friendica\Module\Conversation\Channel as ChannelModule; /** * Asynchronous update module for the Channel page * * @package Friendica\Module\Update */ class Channel extends ChannelModule { protected function rawContent(array $request = []) { $this->parseRequest($request); $o = ''; if (!empty($request['force'])) { 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); } }