Send new remote_photo_path in migration message

This commit is contained in:
Benjamin Neff
2021-11-23 03:20:47 +01:00
parent 34528521f2
commit e9f7bf382e
4 changed files with 43 additions and 5 deletions

View File

@@ -26,9 +26,10 @@ module Diaspora
def self.account_migration(account_migration)
DiasporaFederation::Entities::AccountMigration.new(
author: account_migration.sender.diaspora_handle,
profile: profile(account_migration.new_person.profile),
signature: account_migration.signature
author: account_migration.sender.diaspora_handle,
profile: profile(account_migration.new_person.profile),
remote_photo_path: account_migration.remote_photo_path,
signature: account_migration.signature
)
end