diff options
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/bangtags.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb index a434f36d8..40714097b 100644 --- a/app/lib/bangtags.rb +++ b/app/lib/bangtags.rb @@ -788,12 +788,16 @@ class Bangtags footer = "@#{@account.username}" end - PostStatusService.new.call( + s = PostStatusService.new.call( announcer, + visibility: :local, text: @vars['_admin:announce'], footer: footer, local_only: post_cmd[2] == 'local' ) + FanOutOnWriteService.new.call(s) + + @chunks << 'Announce successful.' end end end |