mirror of
https://github.com/friendica/friendica
synced 2024-11-18 23:03:40 +00:00
Don't distribute for ignored contacts
This commit is contained in:
parent
8d8aef5624
commit
66547e5107
1 changed files with 1 additions and 1 deletions
|
@ -863,7 +863,7 @@ class Item extends BaseObject
|
|||
|
||||
unset($item['id']);
|
||||
|
||||
$condition = ["`nurl` IN (SELECT `nurl` FROM `contact` WHERE `id` = ?) AND `uid` != 0 AND NOT `blocked` AND `rel` IN (?, ?)",
|
||||
$condition = ["`nurl` IN (SELECT `nurl` FROM `contact` WHERE `id` = ?) AND `uid` != 0 AND NOT `blocked` AND NOT `readonly` AND `rel` IN (?, ?)",
|
||||
$parent['owner-id'], CONTACT_IS_SHARING, CONTACT_IS_FRIEND];
|
||||
$contacts = dba::select('contact', ['uid'], $condition);
|
||||
while ($contact = dba::fetch($contacts)) {
|
||||
|
|
Loading…
Reference in a new issue