Issue 6282: Update the contact data regularly (including the network)

This commit is contained in:
Michael 2019-01-16 21:39:56 +00:00
parent f13b8f8ec4
commit c359c162a7
5 changed files with 87 additions and 74 deletions

View file

@ -334,7 +334,7 @@ class PortableContact
$server_url = Strings::normaliseLink(self::detectServer($profile));
}
if (!in_array($gcontacts[0]["network"], [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::DIASPORA, Protocol::FEED, Protocol::OSTATUS, ""])) {
if (!in_array($gcontacts[0]["network"], [Protocol::DFRN, Protocol::DIASPORA, Protocol::FEED, Protocol::OSTATUS, ""])) {
Logger::log("Profile ".$profile.": Network type ".$gcontacts[0]["network"]." can't be checked", Logger::DEBUG);
return false;
}