1
0
Fork 0

Bugfix for better mail import

This commit is contained in:
Michael 2017-09-23 22:53:44 +00:00
commit d72e6b2c82
4 changed files with 41 additions and 32 deletions

View file

@ -584,10 +584,10 @@ function get_contact($url, $uid = 0, $no_update = false) {
return 0;
}
$data = Probe::uri($url);
$data = Probe::uri($url, "", $uid);
// Last try in gcontact for unsupported networks
if (!in_array($data["network"], array(NETWORK_DFRN, NETWORK_OSTATUS, NETWORK_DIASPORA, NETWORK_PUMPIO))) {
if (!in_array($data["network"], array(NETWORK_DFRN, NETWORK_OSTATUS, NETWORK_DIASPORA, NETWORK_PUMPIO, NETWORK_MAIL))) {
if ($uid != 0) {
return 0;
}