}
}
+ protected function setPing(bool $ping)
+ {
+ $this->ping = $ping;
+ }
+
protected function getItems()
{
$conditionFields = ['uid' => $this->session->getLocalUserId()];
/** @var bool */
protected $update;
/** @var bool */
+ protected $ping;
+ /** @var bool */
protected $raw;
/** @var string */
protected $order;
*/
protected function setItemsSeenByCondition(array $condition)
{
- if (empty($condition)) {
+ if (empty($condition) || $this->ping) {
return;
}
System::httpExit('');
}
+ $this->setPing(true);
$this->itemsPerPage = 100;
if ($this->channel->isTimeline($this->selectedTab) || $this->userDefinedChannel->isTimeline($this->selectedTab, $this->session->getLocalUserId())) {