mirror of
https://github.com/friendica/friendica
synced 2024-12-23 04:00:15 +00:00
Merge pull request #12797 from annando/emoji-react
We can now store emoji reactions from Misskey
This commit is contained in:
commit
90717b602e
1 changed files with 2 additions and 1 deletions
|
@ -1211,7 +1211,8 @@ class Item
|
||||||
Post\Thread::insert($item['uri-id'], $item);
|
Post\Thread::insert($item['uri-id'], $item);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!in_array($item['verb'], self::ACTIVITIES)) {
|
// The content of activities normally doesn't matter - except for likes from Misskey
|
||||||
|
if (!in_array($item['verb'], self::ACTIVITIES) || in_array($item['verb'], [Activity::LIKE, Activity::DISLIKE]) && !empty($item['body']) && ($item['body'] != $item['verb'])) {
|
||||||
Post\Content::insert($item['uri-id'], $item);
|
Post\Content::insert($item['uri-id'], $item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue