aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-09 19:03:29 -0700
committerredmatrix <git@macgirvin.com>2016-07-09 19:03:29 -0700
commit917a465ccd7dfa4992241b1e5d4418b3a31f1615 (patch)
tree4743fcfc2e9997d35c1b0ef73317002c98255b64 /Zotlabs/Daemon
parente11330a5c8e5111d08d6aee1f4dc6dda6f7c7f2a (diff)
downloadvolse-hubzilla-917a465ccd7dfa4992241b1e5d4418b3a31f1615.tar.gz
volse-hubzilla-917a465ccd7dfa4992241b1e5d4418b3a31f1615.tar.bz2
volse-hubzilla-917a465ccd7dfa4992241b1e5d4418b3a31f1615.zip
more work on perms
Diffstat (limited to 'Zotlabs/Daemon')
-rw-r--r--Zotlabs/Daemon/Onepoll.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Onepoll.php b/Zotlabs/Daemon/Onepoll.php
index 036a4991b..21c46cec5 100644
--- a/Zotlabs/Daemon/Onepoll.php
+++ b/Zotlabs/Daemon/Onepoll.php
@@ -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) {