diff options
Diffstat (limited to 'app/lib/command_tag/processor.rb')
-rw-r--r-- | app/lib/command_tag/processor.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/lib/command_tag/processor.rb b/app/lib/command_tag/processor.rb index e9b8f5c05..da6d49160 100644 --- a/app/lib/command_tag/processor.rb +++ b/app/lib/command_tag/processor.rb @@ -59,7 +59,6 @@ class CommandTag::Processor elsif @status.destroyed? %w(after_destroy once_after_destroy).each { |suffix| execute_statements(suffix) } else - update_semiprivate_attribute @status.text = @text process_inline_images! if @status.save @@ -175,14 +174,6 @@ class CommandTag::Processor @status.destroy unless @status.destroyed? end - def status_still_semiprivate? - @status.domain_permissions.exists? || @account.followers.where(domain: @account.domain_permissions.select(:domain)).exists? - end - - def update_semiprivate_attribute - @status.semiprivate = @semiprivate.presence || status_still_semiprivate? - end - def normalize(text) text.to_s.strip.downcase end |