Process EmojiReact() activity as Like()
This commit is contained in:
parent
6c57767f7e
commit
a3ac526bca
2 changed files with 2 additions and 1 deletions
|
@ -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(),
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue