fix relative urls on some Diaspora profile photos

This commit is contained in:
redmatrix 2016-01-09 14:02:58 -08:00
parent 1c982315dd
commit b00c22916a
3 changed files with 6793 additions and 6779 deletions

View File

@ -1144,6 +1144,10 @@ function discover_by_webbie($webbie) {
dbesc($addr) dbesc($addr)
); );
// fix relative urls
if($vcard['photo'] && (strpos($vcard['photo'],'http') !== 0))
$vcard['photo'] = $diaspora_base . '/' . $vcard['photo'];
/** /**
* *
* Diaspora communications are notoriously unreliable and receiving profile update messages (indeed any messages) * Diaspora communications are notoriously unreliable and receiving profile update messages (indeed any messages)

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
2016-01-07.1271H 2016-01-09.1273H