]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_confirm.php
Merge pull request #8900 from tobiasd/20200718-serverblocklistcsv
[friendica.git] / mod / dfrn_confirm.php
index 668c6d2e274bee42ca7b96247b2f5fd9e39d9268..bd52a67cff70fb233d20a54a833a547dcd6182b9 100644 (file)
@@ -304,7 +304,7 @@ function dfrn_confirm_post(App $a, $handsfree = null)
                 *
                 * We will also update the contact record with the nature and scope of the relationship.
                 */
-               Contact::updateAvatar($contact['photo'], $uid, $contact_id);
+               Contact::updateAvatar($contact_id, $contact['photo']);
 
                Logger::log('dfrn_confirm: confirm - imported photos');
 
@@ -484,7 +484,7 @@ function dfrn_confirm_post(App $a, $handsfree = null)
                        $photo = DI::baseUrl() . '/images/person-300.jpg';
                }
 
-               Contact::updateAvatar($photo, $local_uid, $dfrn_record);
+               Contact::updateAvatar($dfrn_record, $photo);
 
                Logger::log('dfrn_confirm: request - photos imported');