about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-02-16 01:38:07 -0600
committermultiple creatures <dev@multiple-creature.party>2020-02-16 01:38:07 -0600
commita416fc1f17e7abd967c177721c07a5e56fdedac4 (patch)
treeb4b8453c0248da4bfddaf08604226e4efe0a6724 /app
parentf7ef10bd38b62bfd03f5ccc556de26e0c98b56a1 (diff)
make it possible to publish drafts local-only
Diffstat (limited to 'app')
-rw-r--r--app/lib/bangtags.rb1
-rw-r--r--app/services/post_status_service.rb1
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