mirror of
https://github.com/friendica/friendica
synced 2025-04-29 13:44:23 +02:00
Issue 6282: Update the contact data regularly (including the network)
This commit is contained in:
parent
f13b8f8ec4
commit
c359c162a7
5 changed files with 87 additions and 74 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue