aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadStream.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-22 15:39:06 -0800
committerzotlabs <mike@macgirvin.com>2017-11-22 15:39:06 -0800
commit6c178d44858bbdfd582d09eb4568d32292c0b2c2 (patch)
treeef71ebbdd8629b8c66a52f8b14d0e9db16670499 /Zotlabs/Lib/ThreadStream.php
parent8bd8af7d16d6b4fb40680bd33b99bbfd582a1208 (diff)
downloadvolse-hubzilla-6c178d44858bbdfd582d09eb4568d32292c0b2c2.tar.gz
volse-hubzilla-6c178d44858bbdfd582d09eb4568d32292c0b2c2.tar.bz2
volse-hubzilla-6c178d44858bbdfd582d09eb4568d32292c0b2c2.zip
article feature
Diffstat (limited to 'Zotlabs/Lib/ThreadStream.php')
-rw-r--r--Zotlabs/Lib/ThreadStream.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Lib/ThreadStream.php b/Zotlabs/Lib/ThreadStream.php
index 436723f8c..9eebb929c 100644
--- a/Zotlabs/Lib/ThreadStream.php
+++ b/Zotlabs/Lib/ThreadStream.php
@@ -63,6 +63,11 @@ class ThreadStream {
$this->writable = perm_is_allowed($this->profile_owner,$ob_hash,'post_comments');
$this->reload = $_SESSION['return_url'];
break;
+ case 'articles':
+ $this->profile_owner = \App::$profile['profile_uid'];
+ $this->writable = perm_is_allowed($this->profile_owner,$ob_hash,'post_comments');
+ $this->reload = $_SESSION['return_url'];
+ break;
case 'display':
// in this mode we set profile_owner after initialisation (from conversation()) and then
// pull some trickery which allows us to re-invoke this function afterward