about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-17 20:05:22 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-17 20:05:22 -0500
commitb28fae301a338abe085780f6e74560190bd1c3e7 (patch)
tree542c5280f74180582dee18fa70d2f945353bb7f1 /app
parentf927cb47b493fa73bc098d041ba0895992b49bcc (diff)
make sure announcements get streamed to the local tl & make them unlisted-local visibility
Diffstat (limited to 'app')
-rw-r--r--app/lib/bangtags.rb6
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