more work on perms

This commit is contained in:
redmatrix
2016-07-09 19:03:29 -07:00
parent e11330a5c8
commit 917a465ccd
7 changed files with 48 additions and 43 deletions

View File

@@ -102,7 +102,9 @@ class Onepoll {
$fetch_feed = true;
$x = null;
if(! ($contact['abook_their_perms'] & PERMS_R_STREAM ))
$can_view_stream = intval(get_abconfig($importer_uid,$contact['abook_xchan'],'their_perms','view_stream'));
if(! $can_view_stream)
$fetch_feed = false;
if($fetch_feed) {