aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-18 03:02:51 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-18 03:02:51 -0700
commit664cf8ac8e5d35e8b9a4df35b646a00fd76e212b (patch)
tree64f6df1c197a1e655208ff270dbc83d63a9f2fb6 /include/notifier.php
parentfbc64baf31581de206a20b42fde667b1374d017f (diff)
downloadvolse-hubzilla-664cf8ac8e5d35e8b9a4df35b646a00fd76e212b.tar.gz
volse-hubzilla-664cf8ac8e5d35e8b9a4df35b646a00fd76e212b.tar.bz2
volse-hubzilla-664cf8ac8e5d35e8b9a4df35b646a00fd76e212b.zip
pass community page permissions through notification feeds
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/notifier.php b/include/notifier.php
index bef46677c..db95c3aae 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -72,7 +72,7 @@
killme();
}
- $r = q("SELECT `contact`.*, `user`.`nickname`
+ $r = q("SELECT `contact`.*, `user`.`nickname`, `user`.`page-flags`
FROM `contact` LEFT JOIN `user` ON `user`.`uid` = `contact`.`uid`
WHERE `contact`.`uid` = %d AND `contact`.`self` = 1 LIMIT 1",
intval($uid)
@@ -128,8 +128,6 @@
$recipients = array_diff($recipients,$deny);
$conversant_str = dbesc(implode(', ',$conversants));
-
-
}
$r = q("SELECT * FROM `contact` WHERE `id` IN ( $conversant_str ) AND `blocked` = 0 AND `pending` = 0");
@@ -310,7 +308,7 @@
switch($contact['network']) {
case 'dfrn':
- $deliver_status = dfrn_deliver($contact,$atom,$debugging);
+ $deliver_status = dfrn_deliver($owner,$contact,$atom,$debugging);
break;
default:
break;