From 6a5b0b65bb4ff54cdc24b900cfc010a36d6dbeac Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Wed, 17 Jul 2019 15:53:32 -0500 Subject: make `draft`s local-only --- app/lib/bangtags.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app') 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) -- cgit