Improve look of reshared items on the forum profile
This commit is contained in:
parent
49dd97e5fd
commit
7a5a8c8d68
|
@ -1236,8 +1236,9 @@ class Item
|
|||
return;
|
||||
}
|
||||
|
||||
$self = Contact::selectFirst(['id'], ['uid' => $item['uid'], 'self' => true]);
|
||||
$cid = Contact::getIdForURL($author['url'], $item['uid']);
|
||||
if (empty($cid) || !Contact::isSharing($cid, $item['uid'])) {
|
||||
if (empty($cid) || (!Contact::isSharing($cid, $item['uid']) && ($cid != $self['id']))) {
|
||||
Logger::info('The resharer is not a following contact: quit', ['resharer' => $author['url'], 'uid' => $item['uid'], 'cid' => $cid]);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue