mirror of
https://github.com/friendica/friendica
synced 2024-11-19 15:03:40 +00:00
"to" is now used for mentions, "cc" for everything else
This commit is contained in:
parent
3c48a1f787
commit
8b9aa80aad
1 changed files with 1 additions and 6 deletions
|
@ -329,7 +329,7 @@ class Transmitter
|
|||
foreach ($terms as $term) {
|
||||
$profile = APContact::getByURL($term['url'], false);
|
||||
if (!empty($profile) && empty($contacts[$profile['url']])) {
|
||||
$data['cc'][] = $profile['url'];
|
||||
$data['to'][] = $profile['url'];
|
||||
$contacts[$profile['url']] = $profile['url'];
|
||||
}
|
||||
}
|
||||
|
@ -381,11 +381,6 @@ class Transmitter
|
|||
}
|
||||
DBA::close($parents);
|
||||
|
||||
if (empty($data['to'])) {
|
||||
$data['to'] = $data['cc'];
|
||||
$data['cc'] = [];
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue