diff options
Diffstat (limited to 'app/services/process_interaction_service.rb')
-rw-r--r-- | app/services/process_interaction_service.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/services/process_interaction_service.rb b/app/services/process_interaction_service.rb index be78ebb58..ecd3c2b2c 100644 --- a/app/services/process_interaction_service.rb +++ b/app/services/process_interaction_service.rb @@ -1,5 +1,7 @@ +# frozen_string_literal: true + class ProcessInteractionService < BaseService - ACTIVITY_NS = 'http://activitystrea.ms/spec/1.0/'.freeze + ACTIVITY_NS = 'http://activitystrea.ms/spec/1.0/' # Record locally the remote interaction with our user # @param [String] envelope Salmon envelope @@ -76,9 +78,7 @@ class ProcessInteractionService < BaseService return if status.nil? - if account.id == status.account_id - remove_status_service.call(status) - end + remove_status_service.call(status) if account.id == status.account_id end def favourite!(xml, from_account) |