make sure announcements get streamed to the local tl & make them unlisted-local visibility

staging
multiple creatures 2019-07-17 20:05:22 -05:00
parent f927cb47b4
commit b28fae301a
1 changed files with 5 additions and 1 deletions

View File

@ -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