1
0
Fork 0
forked from gitea/nas

Hide blocking domains/suspended/silenced emoji reactions and streaming

This commit is contained in:
KMY 2023-09-12 13:54:24 +09:00
parent cd252a6062
commit 477d427f1d
8 changed files with 28 additions and 10 deletions

View file

@ -149,7 +149,7 @@ class ActivityPub::Activity::Undo < ActivityPub::Activity
emoji_group = { 'name' => emoji_reaction.name, 'count' => 0, 'account_ids' => [], 'status_id' => @original_status.id.to_s }
emoji_group['domain'] = emoji_reaction.custom_emoji.domain if emoji_reaction.custom_emoji
end
DeliveryEmojiReactionWorker.perform_async(render_emoji_reaction(emoji_group), @original_status.id, emoji_reaction.account_id)
DeliveryEmojiReactionWorker.perform_async(render_emoji_reaction(emoji_group), emoji_reaction.id, emoji_reaction.account_id)
end
def render_emoji_reaction(emoji_group)