mirror of
https://github.com/friendica/friendica
synced 2025-04-26 03:50:12 +00:00
Hopefully fixes loops during message processing
This commit is contained in:
parent
64894f9d6f
commit
f2eec66240
6 changed files with 142 additions and 76 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