about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-02-19 15:43:29 -0600
committermultiple creatures <dev@multiple-creature.party>2020-02-19 15:43:29 -0600
commit5c60f230cba68b46a93a6316a265838bd62f7c0f (patch)
tree9e8e3961aa13ecd925f5f0b3c99715449b7bb180 /app/lib
parent8f7c3a0b118dcd99fecfdf70e6d4a48802462d9a (diff)
move bangtag processing responsibility to `PostStatusService`
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/bangtags.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb
index d9da6147c..900ba9e1c 100644
--- a/app/lib/bangtags.rb
+++ b/app/lib/bangtags.rb
@@ -603,7 +603,7 @@ class Bangtags
         when 'publish'
           chunk = nil
           del_tags(@parent_status, 'self.draft', 'draft')
-          @parent_status.process_bangtags!
+          Bangtags.new(@parent_status).process
           PostStatusWorker.perform_async(@parent_status.id, hidden: false, process_mentions: true)
         end