more perms work

This commit is contained in:
redmatrix
2016-07-13 23:05:19 -07:00
parent b3a785711c
commit 191cd21028
5 changed files with 48 additions and 33 deletions

View File

@@ -47,7 +47,7 @@ class Follow extends \Zotlabs\Web\Controller {
if($abconfig)
$clone['abconfig'] = $abconfig;
build_sync_packet(0 /* use the current local_channel */, array('abook' => array($clone)));
build_sync_packet(0 /* use the current local_channel */, array('abook' => array($clone)), true);
$can_view_stream = intval(get_abconfig($channel['channel_id'],$clone['abook_xchan'],'their_perms','view_stream'));