mirror of
https://github.com/friendica/friendica
synced 2024-12-26 15:14:39 +01:00
Don't transmit empty conversations
This commit is contained in:
parent
f0d151932e
commit
2a4c6d44bb
1 changed files with 4 additions and 1 deletions
|
@ -1610,7 +1610,10 @@ class Transmitter
|
|||
$data['url'] = $link ?? $item['plink'];
|
||||
$data['attributedTo'] = $item['author-link'];
|
||||
$data['sensitive'] = self::isSensitive($item['uri-id']);
|
||||
$data['conversation'] = $data['context'] = ($item['conversation'] ?? '');
|
||||
|
||||
if (!empty($item['conversation']) && ($item['conversation'] != './')) {
|
||||
$data['conversation'] = $data['context'] = $item['conversation'];
|
||||
}
|
||||
|
||||
if (!empty($item['title'])) {
|
||||
$data['name'] = BBCode::toPlaintext($item['title'], false);
|
||||
|
|
Loading…
Reference in a new issue