Fix activitypub group reboot not working
This commit is contained in:
parent
05211ac206
commit
615bfa85bb
2 changed files with 5 additions and 5 deletions
|
@ -89,6 +89,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
|||
fetch_replies(@status)
|
||||
distribute
|
||||
forward_for_reply
|
||||
join_group!
|
||||
end
|
||||
|
||||
def distribute
|
||||
|
@ -424,4 +425,8 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
|||
poll.reload
|
||||
retry
|
||||
end
|
||||
|
||||
def join_group!
|
||||
GroupReblogService.new.call(@status)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -182,7 +182,6 @@ class ActivityPub::ProcessStatusUpdateService < BaseService
|
|||
update_tags!
|
||||
update_mentions!
|
||||
update_emojis!
|
||||
join_group!
|
||||
end
|
||||
|
||||
def update_tags!
|
||||
|
@ -219,10 +218,6 @@ class ActivityPub::ProcessStatusUpdateService < BaseService
|
|||
Mention.where(id: removed_mentions.map(&:id)).update_all(silent: true) unless removed_mentions.empty?
|
||||
end
|
||||
|
||||
def join_group!
|
||||
GroupReblogService.call(@status)
|
||||
end
|
||||
|
||||
def update_emojis!
|
||||
return if skip_download?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue