diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-02-16 01:38:07 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-16 01:38:07 -0600 |
commit | a416fc1f17e7abd967c177721c07a5e56fdedac4 (patch) | |
tree | b4b8453c0248da4bfddaf08604226e4efe0a6724 | |
parent | f7ef10bd38b62bfd03f5ccc556de26e0c98b56a1 (diff) |
make it possible to publish drafts local-only
-rw-r--r-- | app/lib/bangtags.rb | 1 | ||||
-rw-r--r-- | app/services/post_status_service.rb | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb index 9a1b74512..c85f4ee34 100644 --- a/app/lib/bangtags.rb +++ b/app/lib/bangtags.rb @@ -707,7 +707,6 @@ class Bangtags when 'draft' chunk = nil - @status.local_only = true @status.hidden = true @vore_stack.push('_draft') @component_stack.push(:var) diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb index 415243485..fde56238a 100644 --- a/app/services/post_status_service.rb +++ b/app/services/post_status_service.rb @@ -130,7 +130,6 @@ class PostStatusService < BaseService def limit_visibility_if_draft if @tags.include?('self.draft') || @preloaded_tags.include?('self.draft') - @local_only = true @hidden = true end end |