mirror of
https://github.com/friendica/friendica
synced 2025-04-28 12:24:23 +02:00
Unify searchindex table with engagement table
This commit is contained in:
parent
8ddc71188f
commit
fc22a3e83f
11 changed files with 79 additions and 48 deletions
|
@ -1450,7 +1450,7 @@ class Item
|
|||
$engagement_uri_id = Post\Engagement::storeFromItem($posted_item);
|
||||
|
||||
if (in_array($posted_item['gravity'], [self::GRAVITY_PARENT, self::GRAVITY_COMMENT])) {
|
||||
Post\SearchIndex::insert($posted_item['uri-id'], $posted_item['network'], $posted_item['private'], $posted_item['created']);
|
||||
Post\SearchIndex::insert($posted_item['uri-id'], $posted_item['created']);
|
||||
} elseif ($posted_item['verb'] == Activity::ANNOUNCE) {
|
||||
Post\SearchIndex::update($posted_item['thr-parent-id']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue