Don't set posts to seen on channel ping

This commit is contained in:
Michael 2024-04-02 21:30:07 +00:00
parent c8fff8c50c
commit 626ab7cb54
3 changed files with 9 additions and 1 deletions

View file

@ -71,6 +71,8 @@ class Timeline extends BaseModule
/** @var bool */
protected $update;
/** @var bool */
protected $ping;
/** @var bool */
protected $raw;
/** @var string */
protected $order;
@ -823,7 +825,7 @@ class Timeline extends BaseModule
*/
protected function setItemsSeenByCondition(array $condition)
{
if (empty($condition)) {
if (empty($condition) || $this->ping) {
return;
}