mirror of
https://github.com/friendica/friendica
synced 2025-04-24 06:30:13 +00:00
Fetch followers/followings of contacts
This commit is contained in:
parent
eaf159fc20
commit
18617f6c48
10 changed files with 219 additions and 208 deletions
|
@ -1554,9 +1554,7 @@ class Item
|
|||
}
|
||||
|
||||
// Update the contact relations
|
||||
if ($item['author-id'] != $parent['author-id']) {
|
||||
DBA::update('contact-relation', ['last-interaction' => $item['created']], ['cid' => $parent['author-id'], 'relation-cid' => $item['author-id']], true);
|
||||
}
|
||||
ContactRelation::store($parent['author-id'], $item['author-id'], $item['created']);
|
||||
}
|
||||
|
||||
return $item;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue