about summary refs log tree commit diff
diff options
context:
space:
mode:
-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