about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-16 21:30:33 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-17 00:32:56 -0500
commit92406964f1c9c2c5b7c3dfab5c7d9179cbb3804f (patch)
tree92c6bdb98283b68542415efd7a0c654d6882f3a5
parent2089a78f820401e7d3743322c3fffadea96421fc (diff)
fix `i:am`/`we:are` signatures
-rw-r--r--app/services/post_status_service.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb
index 8fbf9d9b6..dd4c801bd 100644
--- a/app/services/post_status_service.rb
+++ b/app/services/post_status_service.rb
@@ -65,10 +65,10 @@ class PostStatusService < BaseService
   private
 
   def set_footer_from_i_am
-    return if @footer.nil? || @options[:no_footer]
-    name = @account.vars['_they:are']
+    return if @footer.present? || @options[:no_footer]
+    name = @account.user.vars['_they:are']
     return if name.blank?
-    @footer = @account.vars["_they:are:#{name}"]
+    @footer = @account.user.vars["_they:are:#{name}"]
   end
 
   def set_initial_visibility