diff options
author | friendica <info@friendica.com> | 2013-02-14 14:07:00 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-02-14 14:07:00 -0800 |
commit | d6db8513e8857c9cf7b725da125b75b80ec78315 (patch) | |
tree | ce9a617fb4eb40f0fbb3b0e38c5b2023da8d7d4a /include | |
parent | 4bde38c4294a30af0ad77cc15368e179a3de8a31 (diff) | |
download | volse-hubzilla-d6db8513e8857c9cf7b725da125b75b80ec78315.tar.gz volse-hubzilla-d6db8513e8857c9cf7b725da125b75b80ec78315.tar.bz2 volse-hubzilla-d6db8513e8857c9cf7b725da125b75b80ec78315.zip |
placeholder comment for public scope requirement
Diffstat (limited to 'include')
-rwxr-xr-x | include/items.php | 7 |
1 files changed, 7 insertions, 0 deletions
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']) { |