mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:10:15 +00:00
Transmit via BCC if contact is hidden, don't store announces
This commit is contained in:
parent
906f7b5698
commit
809e556009
2 changed files with 20 additions and 5 deletions
|
@ -332,7 +332,10 @@ class Receiver
|
|||
return;
|
||||
}
|
||||
|
||||
self::storeConversation($object_data, $body);
|
||||
// Only store content related stuff - and no announces, since they possibly overwrite the original content
|
||||
if (in_array($object_data['object_type'], self::CONTENT_TYPES) && ($type != 'as:Announce')) {
|
||||
self::storeConversation($object_data, $body);
|
||||
}
|
||||
|
||||
// Internal flag for thread completion. See Processor.php
|
||||
if (!empty($activity['thread-completion'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue