mirror of
https://github.com/friendica/friendica
synced 2025-04-29 09:04:24 +02:00
Store the "EmojiReact" activity
This commit is contained in:
parent
1475f53e21
commit
aa2a32d16f
4 changed files with 36 additions and 8 deletions
|
@ -430,6 +430,10 @@ class Processor
|
|||
unset($item['post-type']);
|
||||
$item['object-type'] = Activity\ObjectType::NOTE;
|
||||
|
||||
if (!empty($activity['content'])) {
|
||||
$item['body'] = HTML::toBBCode($activity['content']);
|
||||
}
|
||||
|
||||
$item['diaspora_signed_text'] = $activity['diaspora:like'] ?? '';
|
||||
|
||||
self::postItem($activity, $item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue