placeholder comment for public scope requirement

This commit is contained in:
friendica 2013-02-14 14:07:00 -08:00
parent 4bde38c429
commit d6db8513e8

View File

@ -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']) {