mirror of
https://github.com/friendica/friendica
synced 2025-04-25 14:30:10 +00:00
We now store the verb in the item-content as well
This commit is contained in:
parent
76dab3b2d7
commit
028c9f4da5
6 changed files with 70 additions and 47 deletions
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue