aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-17 22:44:52 -0700
committerfriendica <info@friendica.com>2012-05-17 22:44:52 -0700
commit7b0ded3f1478553e1fe93c95c272b99d78f0132b (patch)
tree2afc3fccae7d3f698ad89dc7c77386ac93890080 /include/notifier.php
parent7cfa7a7671f0bf8316bc63912452e156fc48129e (diff)
downloadvolse-hubzilla-7b0ded3f1478553e1fe93c95c272b99d78f0132b.tar.gz
volse-hubzilla-7b0ded3f1478553e1fe93c95c272b99d78f0132b.tar.bz2
volse-hubzilla-7b0ded3f1478553e1fe93c95c272b99d78f0132b.zip
more private forums, default privacy group for new contacts
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 6ce281372..ea4a1bea8 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -220,7 +220,7 @@ function notifier_run($argv, $argc){
}
- if(($cmd === 'uplink') && (intval($parent['forum_mode'])) && (! $top_level)) {
+ if(($cmd === 'uplink') && (intval($parent['forum_mode']) == 1) && (! $top_level)) {
$relay_to_owner = true;
}
@@ -265,10 +265,10 @@ function notifier_run($argv, $argc){
$deny_people = expand_acl($parent['deny_cid']);
$deny_groups = expand_groups(expand_acl($parent['deny_gid']));
- // if our parent is a forum, uplink to the origional author causing
- // a delivery fork
+ // if our parent is a public forum (forum_mode == 1), uplink to the origional author causing
+ // a delivery fork. private groups (forum_mode == 2) do not uplink
- if(intval($parent['forum_mode']) && (! $top_level) && ($cmd !== 'uplink')) {
+ if((intval($parent['forum_mode']) == 1) && (! $top_level) && ($cmd !== 'uplink')) {
proc_run('php','include/notifier','uplink',$item_id);
}