Store the "EmojiReact" activity

This commit is contained in:
Michael 2022-04-04 16:03:53 +00:00
parent 1475f53e21
commit aa2a32d16f
4 changed files with 36 additions and 8 deletions

View file

@ -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);