mirror of
https://github.com/friendica/friendica
synced 2025-04-27 03:50:11 +00:00
Issue 12373: Fix communication to Diaspora
This commit is contained in:
parent
04d997548c
commit
019bb56668
5 changed files with 31 additions and 5 deletions
|
@ -1396,6 +1396,8 @@ class Contact
|
|||
|
||||
if ($data['network'] == Protocol::DIASPORA) {
|
||||
DI::dsprContact()->updateFromProbeArray($data);
|
||||
} elseif (!empty($data['networks'][Protocol::DIASPORA])) {
|
||||
DI::dsprContact()->updateFromProbeArray($data['networks'][Protocol::DIASPORA]);
|
||||
}
|
||||
|
||||
self::updateFromProbeArray($contact_id, $data);
|
||||
|
@ -2487,6 +2489,8 @@ class Contact
|
|||
|
||||
if ($ret['network'] == Protocol::DIASPORA) {
|
||||
DI::dsprContact()->updateFromProbeArray($ret);
|
||||
} elseif (!empty($ret['networks'][Protocol::DIASPORA])) {
|
||||
DI::dsprContact()->updateFromProbeArray($ret['networks'][Protocol::DIASPORA]);
|
||||
}
|
||||
|
||||
return self::updateFromProbeArray($id, $ret);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue