mirror of
https://github.com/friendica/friendica
synced 2025-04-26 17:50:11 +00:00
Don't transmit content to already archived contacts
This commit is contained in:
parent
b2162f34e9
commit
9b7432781b
5 changed files with 64 additions and 7 deletions
|
@ -223,7 +223,7 @@ class Diaspora
|
|||
`fcontact`.`batch` AS `fbatch`, `fcontact`.`network` AS `fnetwork` FROM `participation`
|
||||
INNER JOIN `contact` ON `contact`.`id` = `participation`.`cid`
|
||||
INNER JOIN `fcontact` ON `fcontact`.`id` = `participation`.`fid`
|
||||
WHERE `participation`.`iid` = ?", $thread);
|
||||
WHERE `participation`.`iid` = ? AND NOT `contact`.`archive`", $thread);
|
||||
|
||||
while ($contact = DBA::fetch($r)) {
|
||||
if (!empty($contact['fnetwork'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue