summaryrefslogtreecommitdiffstats
path: root/app/services/process_interaction_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/process_interaction_service.rb')
-rw-r--r--app/services/process_interaction_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/process_interaction_service.rb b/app/services/process_interaction_service.rb
index 43c8ca4fde8..cdc72008390 100644
--- a/app/services/process_interaction_service.rb
+++ b/app/services/process_interaction_service.rb
@@ -62,7 +62,7 @@ class ProcessInteractionService < BaseService
end
def favourite!(xml, from_account)
- status(xml).favourites.first_or_create!(account: from_account)
+ status(xml).favourites.where(account: from_account).first_or_create!(account: from_account)
end
def add_post!(body, account)