diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-17 15:53:32 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-17 15:53:32 -0500 |
commit | 6a5b0b65bb4ff54cdc24b900cfc010a36d6dbeac (patch) | |
tree | 5b424eafb484a0c419ccdae8899fa22a854bc342 /app | |
parent | 6cb00bc91d8899d9b69d15e79bb24b41f77d0bca (diff) |
make `draft`s local-only
Diffstat (limited to 'app')
-rw-r--r-- | app/lib/bangtags.rb | 1 |
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) |