aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadStream.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-09 17:49:55 +0200
committerMario Vavti <mario@mariovavti.com>2017-10-09 17:49:55 +0200
commit5698462588066b942d7f8784d06942385db8daa4 (patch)
tree15e65d68fc7a0c8bbe06143e4d8da23a6b8e8585 /Zotlabs/Lib/ThreadStream.php
parentf99c007187b83755d7b1c80c63fde7c1162a99c4 (diff)
parent23812e5b48b7a4d4f0c275c0fbb3d244a582397c (diff)
downloadvolse-hubzilla-5698462588066b942d7f8784d06942385db8daa4.tar.gz
volse-hubzilla-5698462588066b942d7f8784d06942385db8daa4.tar.bz2
volse-hubzilla-5698462588066b942d7f8784d06942385db8daa4.zip
Merge remote-tracking branch 'mike/master' into dev
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'];