From d6db8513e8857c9cf7b725da125b75b80ec78315 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 14 Feb 2013 14:07:00 -0800 Subject: placeholder comment for public scope requirement --- include/items.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/items.php b/include/items.php index 9c679b6e2..114780135 100755 --- a/include/items.php +++ b/include/items.php @@ -9,6 +9,13 @@ require_once('include/permissions.php'); function collect_recipients($item,&$private) { +// FIXME - this needs a revision to handle public scope (this site, this network, etc.) +// We'll be changing this to return an array of +// - recipients +// - private +// - scope if message is public ('global', 'network: red', 'site: $sitename', 'connections') +// The receiving site will need to check the scope before creating a list of local recipients + require_once('include/group.php'); if($item['allow_cid'] || $item['allow_gid'] || $item['deny_cid'] || $item['deny_gid']) { -- cgit v1.2.3