mirror of
https://github.com/friendica/friendica
synced 2025-04-29 23:44:22 +02:00
Don't suggest hidden contacts / Added AP to the suggestions
This commit is contained in:
parent
f67cf4e63b
commit
b5fa518998
2 changed files with 6 additions and 6 deletions
|
@ -430,7 +430,7 @@ class GContact
|
|||
// return $list;
|
||||
//}
|
||||
|
||||
$network = [Protocol::DFRN];
|
||||
$network = [Protocol::DFRN, Protocol::ACTIVITYPUB];
|
||||
|
||||
if (Config::get('system', 'diaspora_enabled')) {
|
||||
$network[] = Protocol::DIASPORA;
|
||||
|
@ -451,7 +451,7 @@ class GContact
|
|||
where uid = %d and not gcontact.nurl in ( select nurl from contact where uid = %d )
|
||||
AND NOT `gcontact`.`name` IN (SELECT `name` FROM `contact` WHERE `uid` = %d)
|
||||
AND NOT `gcontact`.`id` IN (SELECT `gcid` FROM `gcign` WHERE `uid` = %d)
|
||||
AND `gcontact`.`updated` >= '%s'
|
||||
AND `gcontact`.`updated` >= '%s' AND NOT `gcontact`.`hide`
|
||||
AND `gcontact`.`last_contact` >= `gcontact`.`last_failure`
|
||||
AND `gcontact`.`network` IN (%s)
|
||||
GROUP BY `glink`.`gcid` ORDER BY `gcontact`.`updated` DESC,`total` DESC LIMIT %d, %d",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue