Basic forum support for Diaspora

This commit is contained in:
Michael 2018-01-30 06:22:09 +00:00
parent 5cae43c8c7
commit 9cbc4a7355
2 changed files with 4 additions and 2 deletions

View file

@ -133,7 +133,8 @@ class Delivery {
return;
}
$walltowall = (($top_level && ($owner['id'] != $items[0]['contact-id'])) ? true : false);
// We don't treat Forum posts as "wall-to-wall" to be able to post them via Diaspora
$walltowall = $top_level && ($owner['id'] != $items[0]['contact-id']) & ($owner['account-type'] != ACCOUNT_TYPE_COMMUNITY);
$public_message = true;