mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
Store the "EmojiReact" activity
This commit is contained in:
parent
1475f53e21
commit
aa2a32d16f
4 changed files with 36 additions and 8 deletions
|
@ -176,6 +176,13 @@ final class Activity
|
|||
const O_UNFOLLOW = ActivityNamespace::OSTATUS . '/unfollow';
|
||||
const O_UNFAVOURITE = ActivityNamespace::OSTATUS . '/unfavorite';
|
||||
|
||||
/**
|
||||
* React to a post via an emoji
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
const EMOJIREACT = ActivityNamespace::LITEPUB . '/emojireact';
|
||||
|
||||
/**
|
||||
* likes (etc.) can apply to other things besides posts. Check if they are post children,
|
||||
* in which case we handle them specially
|
||||
|
@ -183,10 +190,11 @@ final class Activity
|
|||
* Hidden activities, which doesn't need to be shown
|
||||
*/
|
||||
const HIDDEN_ACTIVITIES = [
|
||||
Activity::LIKE, Activity::DISLIKE,
|
||||
Activity::ATTEND, Activity::ATTENDNO, Activity::ATTENDMAYBE,
|
||||
Activity::FOLLOW,
|
||||
Activity::ANNOUNCE,
|
||||
self::LIKE, self::DISLIKE,
|
||||
self::ATTEND, self::ATTENDNO, self::ATTENDMAYBE,
|
||||
self::FOLLOW,
|
||||
self::ANNOUNCE,
|
||||
self::EMOJIREACT,
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue