Unify searchindex table with engagement table
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user