about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-02-16 00:51:48 -0600
committermultiple creatures <dev@multiple-creature.party>2020-02-16 00:52:20 -0600
commit0f9eba95d1559c8061fb7c1e7c5f484737293d18 (patch)
tree30ca238c84a899a8c94e799c902195bdff422448 /app
parentbf2ea2e3ac7cf142a0c91cadd926c23805ea2528 (diff)
marking post as a draft with `draft` bangtag sets it to hidden instead of changing publish visibility
Diffstat (limited to 'app')
-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 0a238d349..8d61ca440 100644
--- a/app/lib/bangtags.rb
+++ b/app/lib/bangtags.rb
@@ -698,8 +698,8 @@ class Bangtags
 
         when 'draft'
           chunk = nil
-          @status.visibility = :direct
           @status.local_only = true
+          @status.hidden = true
           @vore_stack.push('_draft')
           @component_stack.push(:var)
           add_tags(status, 'self.draft')