diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-11 21:35:56 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-11-11 21:35:56 +0100 |
commit | bd3bc503edc9fd5035ed54070b0adf8760e402fa (patch) | |
tree | 0a4cbac294969ebc374e633488598beff8fde752 /include/conversation.php | |
parent | 823729d2c1ea202a463c645d3a84ebf35140bd9f (diff) | |
parent | 34b38f06e00d929c3004ca7ee961405de0a209e1 (diff) | |
download | volse-hubzilla-bd3bc503edc9fd5035ed54070b0adf8760e402fa.tar.gz volse-hubzilla-bd3bc503edc9fd5035ed54070b0adf8760e402fa.tar.bz2 volse-hubzilla-bd3bc503edc9fd5035ed54070b0adf8760e402fa.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php index 2ce4dacef..0b9df5acd 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -581,6 +581,9 @@ function conversation($items, $mode, $update, $page_mode = 'traditional', $prepa || $owner_channel['channel_deny_cid'] || $owner_channel['channel_deny_gid']) { $uploading = false; } + if(\Zotlabs\Access\PermissionLimits::Get($profile_owner,'view_storage') !== PERMS_PUBLIC) { + $uploading = false; + } } else { $uploading = false; |