parent
6b4fc4a9dc
commit
5746f4f1ee
2 changed files with 0 additions and 5 deletions
|
@ -39,10 +39,6 @@ class EmojiReaction < ApplicationRecord
|
||||||
custom_emoji.present?
|
custom_emoji.present?
|
||||||
end
|
end
|
||||||
|
|
||||||
def remote_custom_emoji?
|
|
||||||
custom_emoji? && !custom_emoji.local?
|
|
||||||
end
|
|
||||||
|
|
||||||
def sign?
|
def sign?
|
||||||
status&.distributable_friend?
|
status&.distributable_friend?
|
||||||
end
|
end
|
||||||
|
|
|
@ -62,7 +62,6 @@ class EmojiReactService < BaseService
|
||||||
status = emoji_reaction.status
|
status = emoji_reaction.status
|
||||||
|
|
||||||
return unless status.account.local?
|
return unless status.account.local?
|
||||||
return if emoji_reaction.remote_custom_emoji?
|
|
||||||
|
|
||||||
ActivityPub::RawDistributionWorker.perform_async(build_json(emoji_reaction), status.account_id)
|
ActivityPub::RawDistributionWorker.perform_async(build_json(emoji_reaction), status.account_id)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue