about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorJenkins <jenkins@jenkins.ninjawedding.org>2018-03-20 19:17:20 +0000
committerJenkins <jenkins@jenkins.ninjawedding.org>2018-03-20 19:17:20 +0000
commite8aeec4fead8810ee2efcdb2b0198941dfb168ee (patch)
tree887c56068d4d89f44c3348b999b353e1b1bc12bf /app/services
parent2649cce3a065f3825d63b7f7be341787aa1d2f9a (diff)
parentac49c7932d848fbb946c37a69f42b7dbc774c56c (diff)
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
Diffstat (limited to 'app/services')
-rw-r--r--app/services/activitypub/process_account_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/activitypub/process_account_service.rb b/app/services/activitypub/process_account_service.rb
index 68e9db766..7d8dc1369 100644
--- a/app/services/activitypub/process_account_service.rb
+++ b/app/services/activitypub/process_account_service.rb
@@ -16,7 +16,7 @@ class ActivityPub::ProcessAccountService < BaseService
 
     RedisLock.acquire(lock_options) do |lock|
       if lock.acquired?
-        @account        = Account.find_by(uri: @uri)
+        @account        = Account.find_remote(@username, @domain)
         @old_public_key = @account&.public_key
         @old_protocol   = @account&.protocol