Skip to content

Commit

Permalink
修正
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Oct 11, 2023
1 parent 051ed51 commit 2393936
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/services/emoji_react_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def render_emoji_reaction(emoji_group)
def forward_for_emoji_reaction!(emoji_reaction)
return unless @status.local?

ActivityPub::RawDistributionWorker.perform_async(Oj.dump(build_json(emoji_reaction)), @original_status.account.id, [@account.preferred_inbox_url])
ActivityPub::RawDistributionWorker.perform_async(Oj.dump(build_json(emoji_reaction)), @status.account.id, [@status.account.preferred_inbox_url])
end

def relay_for_emoji_reaction!(emoji_reaction)
Expand Down
2 changes: 1 addition & 1 deletion app/services/un_emoji_react_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def render_emoji_reaction(emoji_group)
def forward_for_undo_emoji_reaction!(emoji_reaction)
return unless @status.local?

ActivityPub::RawDistributionWorker.perform_async(Oj.dump(build_json(emoji_reaction)), @original_status.account.id, [@account.preferred_inbox_url])
ActivityPub::RawDistributionWorker.perform_async(Oj.dump(build_json(emoji_reaction)), @status.account.id, [@status.account.preferred_inbox_url])
end

def relay_for_undo_emoji_reaction!(emoji_reaction)
Expand Down

0 comments on commit 2393936

Please sign in to comment.