aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadStream.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-09 15:14:44 -0700
committerzotlabs <mike@macgirvin.com>2017-10-09 15:14:44 -0700
commit87970491441cb15462d3fe7a7641d2f2755cb45b (patch)
tree455abf25ed534ddcadfd595f3484c4ef6ff74a2a /Zotlabs/Lib/ThreadStream.php
parent09009d4b32d5014d77de941dba695fe2bc577616 (diff)
parentcc1ffff7cdfe5881636b6d2de3fe16f0094b5d69 (diff)
downloadvolse-hubzilla-87970491441cb15462d3fe7a7641d2f2755cb45b.tar.gz
volse-hubzilla-87970491441cb15462d3fe7a7641d2f2755cb45b.tar.bz2
volse-hubzilla-87970491441cb15462d3fe7a7641d2f2755cb45b.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Lib/ThreadStream.php')
-rw-r--r--Zotlabs/Lib/ThreadStream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadStream.php b/Zotlabs/Lib/ThreadStream.php
index d7a898704..436723f8c 100644
--- a/Zotlabs/Lib/ThreadStream.php
+++ b/Zotlabs/Lib/ThreadStream.php
@@ -68,7 +68,7 @@ class ThreadStream {
// pull some trickery which allows us to re-invoke this function afterward
// it's an ugly hack so @FIXME
$this->writable = perm_is_allowed($this->profile_owner,$ob_hash,'post_comments');
- $this->uploadable = false;
+ $this->uploadable = perm_is_allowed($this->profile_owner,$ob_hash,'write_storage');
break;
case 'page':
$this->profile_owner = \App::$profile['uid'];