Merge pull request #2347 from annando/1602-dfrn-forum
DFRN-Bugfix: Forums should work now
This commit is contained in:
commit
810843763d
|
@ -2053,10 +2053,14 @@ 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;
|
||||
}
|
||||
// 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;
|
||||
//}
|
||||
}
|
||||
|
||||
if ($entrytype == DFRN_REPLY_RC) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user