Process EmojiReact() activity as Like()

This commit is contained in:
silverpill 2021-11-30 20:06:13 +00:00
parent 6c57767f7e
commit a3ac526bca
2 changed files with 2 additions and 1 deletions

View file

@ -337,7 +337,7 @@ pub async fn receive_activity(
deletion_queue.process(&config).await;
});
},
(LIKE, _) => {
(LIKE, _) | (EMOJI_REACT, _) => {
let author = get_or_fetch_profile_by_actor_id(
db_client,
&config.instance(),

View file

@ -5,6 +5,7 @@ pub const ACCEPT: &str = "Accept";
pub const ANNOUNCE: &str = "Announce";
pub const CREATE: &str = "Create";
pub const DELETE: &str = "Delete";
pub const EMOJI_REACT: &str = "EmojiReact";
pub const FOLLOW: &str = "Follow";
pub const LIKE: &str = "Like";
pub const REJECT: &str = "Reject";