mirror of
https://github.com/friendica/friendica
synced 2025-04-26 01:50:11 +00:00
Issue 10966: Ignore "only sharer" setting for forum accounts
This commit is contained in:
parent
4ad528a15c
commit
695d6ce461
2 changed files with 3 additions and 3 deletions
|
@ -619,7 +619,7 @@ class Processor
|
|||
continue;
|
||||
}
|
||||
|
||||
if (DI::pConfig()->get($receiver, 'system', 'accept_only_sharer', false) && ($receiver != 0) && ($item['gravity'] == GRAVITY_PARENT)) {
|
||||
if (!Contact::isForum($receiver) && DI::pConfig()->get($receiver, 'system', 'accept_only_sharer', false) && ($receiver != 0) && ($item['gravity'] == GRAVITY_PARENT)) {
|
||||
$skip = !Contact::isSharingByURL($activity['author'], $receiver);
|
||||
|
||||
if ($skip && (($activity['type'] == 'as:Announce') || ($item['isForum'] ?? false))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue