mirror of
https://github.com/friendica/friendica
synced 2025-04-24 02:30:13 +00:00
Merge pull request #11812 from annando/ap-performance
Hopefully fixes loops during message processing
This commit is contained in:
commit
196a1de7f2
6 changed files with 167 additions and 91 deletions
|
@ -2449,7 +2449,7 @@ class Contact
|
|||
|
||||
$new_pubkey = $ret['pubkey'] ?? '';
|
||||
|
||||
if ($uid == 0) {
|
||||
if ($uid == 0 && DI::config()->get('system', 'fetch_featured_posts')) {
|
||||
if ($ret['network'] == Protocol::ACTIVITYPUB) {
|
||||
$apcontact = APContact::getByURL($ret['url'], false);
|
||||
if (!empty($apcontact['featured'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue