From b72cfaf828d23623e8ae388750bed9690c29278f Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Tue, 9 Jan 2018 10:02:53 -0500 Subject: [PATCH] update use update useings and self --- src/Model/Contact.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 7fe5c5e6d4..057a06a31d 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -7,6 +7,7 @@ namespace Friendica\Model; use Friendica\BaseObject; +use Friendica\Core\Config; use Friendica\Core\PConfig; use Friendica\Core\System; use Friendica\Core\Worker; @@ -1259,7 +1260,7 @@ class Contact extends BaseObject Group::addMember(User::getDefaultGroup($uid, $contact["network"]), $contact_id); // Update the avatar - Contact::updateAvatar($ret['photo'], $uid, $contact_id); + self::updateAvatar($ret['photo'], $uid, $contact_id); // pull feed and consume it, which should subscribe to the hub.