about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-17 15:53:32 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-17 15:53:32 -0500
commit6a5b0b65bb4ff54cdc24b900cfc010a36d6dbeac (patch)
tree5b424eafb484a0c419ccdae8899fa22a854bc342 /app/lib
parent6cb00bc91d8899d9b69d15e79bb24b41f77d0bca (diff)
make `draft`s local-only
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/bangtags.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb
index 54b7d46af..230f68d31 100644
--- a/app/lib/bangtags.rb
+++ b/app/lib/bangtags.rb
@@ -420,6 +420,7 @@ class Bangtags
           chunk = nil
           @chunks.insert(0, "[center]`#!draft!#`[/center]\n") unless @chunks.present? && @chunks.first.include?('#!draft')
           @status.visibility = :direct
+          @status.local_only = true
           @status.content_type = 'text/x-bbcode+markdown'
           @vore_stack.push('_draft')
           @component_stack.push(:var)