From 0f9eba95d1559c8061fb7c1e7c5f484737293d18 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 16 Feb 2020 00:51:48 -0600 Subject: marking post as a draft with `draft` bangtag sets it to hidden instead of changing publish visibility --- app/lib/bangtags.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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') -- cgit