mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:50:11 +00:00
Improve the name of the "followers" receiver
This commit is contained in:
parent
1617e9fc64
commit
59630a2c82
3 changed files with 30 additions and 15 deletions
|
@ -415,7 +415,7 @@ class Receiver
|
|||
}
|
||||
|
||||
foreach (['as:to', 'as:cc', 'as:bto', 'as:bcc'] as $element) {
|
||||
if (!empty($urls[$element])) {
|
||||
if ((empty($object_data['receiver_urls'][$element]) || in_array($element, ['as:bto', 'as:bcc'])) && !empty($urls[$element])) {
|
||||
$object_data['receiver_urls'][$element] = array_unique(array_merge($object_data['receiver_urls'][$element] ?? [], $urls[$element]));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue