We now store the verb in the item-content as well

This commit is contained in:
Michael 2018-06-27 19:37:13 +00:00
parent 76dab3b2d7
commit 028c9f4da5
6 changed files with 70 additions and 47 deletions

View file

@ -1626,7 +1626,7 @@ function api_statuses_home_timeline($type)
}
if (!empty($idarray)) {
$unseen = dba::exists('item', ['unseen' => true, 'id' => $idarray]);
$unseen = Item::exists(['unseen' => true, 'id' => $idarray]);
if ($unseen) {
Item::update(['unseen' => false], ['unseen' => true, 'id' => $idarray]);
}