properly distribute announcement posts made thru `admin:announce`
parent
2d99300a6d
commit
be251c1eb4
|
@ -816,7 +816,9 @@ class Bangtags
|
|||
footer: footer,
|
||||
local_only: post_cmd[2] == 'local'
|
||||
)
|
||||
FanOutOnWriteService.new.call(s)
|
||||
|
||||
DistributionWorker.perform_async(s.id)
|
||||
ActivityPub::DistributionWorker.perform_async(s) unless s.local_only?
|
||||
|
||||
@chunks << 'Announce successful.'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue