Merge pull request #4995 from annando/vanished-feeds

Fix for issue 4994: Feed items now appear again
This commit is contained in:
Tobias Diekershoff 2018-05-08 08:33:47 +02:00 committed by GitHub
commit 6021a7504d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -804,7 +804,7 @@ class Contact extends BaseObject
$data = Probe::uri($url, "", $uid); $data = Probe::uri($url, "", $uid);
// Last try in gcontact for unsupported networks // Last try in gcontact for unsupported networks
if (!in_array($data["network"], [NETWORK_DFRN, NETWORK_OSTATUS, NETWORK_DIASPORA, NETWORK_PUMPIO, NETWORK_MAIL])) { if (!in_array($data["network"], [NETWORK_DFRN, NETWORK_OSTATUS, NETWORK_DIASPORA, NETWORK_PUMPIO, NETWORK_MAIL, NETWORK_FEED])) {
if ($uid != 0) { if ($uid != 0) {
return 0; return 0;
} }