1
0
Fork 0

Merge remote-tracking branch 'upstream/develop' into item-enhanced

This commit is contained in:
Michael 2018-02-22 10:04:57 +00:00
commit d7442559e0

View file

@ -826,7 +826,12 @@ class Diaspora
// if Diaspora connectivity is enabled on their server
if ($r && ($r["network"] === NETWORK_DIASPORA)) {
self::addFContact($r, $update);
$person = $r;
// Fetch the updated or added contact
$person = dba::selectFirst('fcontact', [], ['network' => NETWORK_DIASPORA, 'addr' => $handle]);
if (!DBM::is_result($person)) {
$person = $r;
}
}
}