mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Rever item reshare handling, fixed database
This commit is contained in:
parent
2b76ff61ad
commit
2b17e36a67
2 changed files with 2 additions and 2 deletions
|
@ -1146,7 +1146,7 @@ class Item
|
|||
}
|
||||
|
||||
$cid = Contact::getIdForURL($author['url'], $item['uid']);
|
||||
if (empty($cid) || (!Contact::isSharing($cid, $item['uid'] && in_array($author['network'], Protocol::FEDERATED)))) {
|
||||
if (empty($cid) || !Contact::isSharing($cid, $item['uid'])) {
|
||||
Logger::info('The resharer is not a following contact: quit', ['resharer' => $author['url'], 'uid' => $item['uid'], 'cid' => $cid]);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue