diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-12-29 02:24:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-29 02:24:36 +0100 |
commit | 0f938ff29c2e9bf92e3eb9c23be8d4ba3a1b97f7 (patch) | |
tree | a7f9cb2672014b95f77f1a9fe802009f889574e0 /app/services/activitypub | |
parent | 9b475a4838abc6143e26776816280e16abfc6193 (diff) |
Add handler for Move activity (#9629)
Diffstat (limited to 'app/services/activitypub')
-rw-r--r-- | app/services/activitypub/process_account_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/activitypub/process_account_service.rb b/app/services/activitypub/process_account_service.rb index 5c865dae2..d6480028f 100644 --- a/app/services/activitypub/process_account_service.rb +++ b/app/services/activitypub/process_account_service.rb @@ -75,6 +75,7 @@ class ActivityPub::ProcessAccountService < BaseService @account.note = @json['summary'] || '' @account.locked = @json['manuallyApprovesFollowers'] || false @account.fields = property_values || {} + @account.also_known_as = as_array(@json['alsoKnownAs'] || []).map { |item| value_or_id(item) } @account.actor_type = actor_type end |