From 4dad744c35565129ea9ba09922474c1dc6a32e04 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 11 Feb 2016 22:35:06 +0100 Subject: [PATCH 1/2] DFRN-Bugfix: Forums should work now --- include/dfrn.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/dfrn.php b/include/dfrn.php index 6fa47af052..1cfa42a6b3 100644 --- a/include/dfrn.php +++ b/include/dfrn.php @@ -2053,10 +2053,10 @@ class dfrn { if (($item["network"] != $author["network"]) AND ($author["network"] != "")) $item["network"] = $author["network"]; - if($importer["rel"] == CONTACT_IS_FOLLOWER) { - logger("Contact ".$importer["id"]." is only follower. Quitting", LOGGER_DEBUG); - return; - } + //if($importer["rel"] == CONTACT_IS_FOLLOWER) { + // logger("Contact ".$importer["id"]." is only follower. Quitting", LOGGER_DEBUG); + // return; + //} } if ($entrytype == DFRN_REPLY_RC) { From b5c547174826b6145259381090843cc72a4c4790 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 12 Feb 2016 07:39:08 +0100 Subject: [PATCH 2/2] Added some documentation --- include/dfrn.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dfrn.php b/include/dfrn.php index 1cfa42a6b3..8938a9b6f7 100644 --- a/include/dfrn.php +++ b/include/dfrn.php @@ -2053,6 +2053,10 @@ class dfrn { if (($item["network"] != $author["network"]) AND ($author["network"] != "")) $item["network"] = $author["network"]; + // This code was taken from the old DFRN code + // When activated, forums don't work. + // And: Why should we disallow commenting by followers? + // the behaviour is now similar to the Diaspora part. //if($importer["rel"] == CONTACT_IS_FOLLOWER) { // logger("Contact ".$importer["id"]." is only follower. Quitting", LOGGER_DEBUG); // return;