fix relative urls on some Diaspora profile photos
This commit is contained in:
parent
1c982315dd
commit
b00c22916a
@ -1144,6 +1144,10 @@ function discover_by_webbie($webbie) {
|
||||
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)
|
||||
|
13566
util/hmessages.po
13566
util/hmessages.po
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
||||
2016-01-07.1271H
|
||||
2016-01-09.1273H
|
||||
|
Reference in New Issue
Block a user