aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadStream.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-23 22:06:42 -0700
committerzotlabs <mike@macgirvin.com>2017-08-23 22:06:42 -0700
commite157e3bec8722c04ed8dc2d215cd2efd0ce3ce79 (patch)
tree0fbe85a21d2a665c510a96d696fc551f46990fe0 /Zotlabs/Lib/ThreadStream.php
parent4450170790de3999dc9c6f8876074e76edee8241 (diff)
downloadvolse-hubzilla-e157e3bec8722c04ed8dc2d215cd2efd0ce3ce79.tar.gz
volse-hubzilla-e157e3bec8722c04ed8dc2d215cd2efd0ce3ce79.tar.bz2
volse-hubzilla-e157e3bec8722c04ed8dc2d215cd2efd0ce3ce79.zip
cards: make page load after comment post
Diffstat (limited to 'Zotlabs/Lib/ThreadStream.php')
-rw-r--r--Zotlabs/Lib/ThreadStream.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/Zotlabs/Lib/ThreadStream.php b/Zotlabs/Lib/ThreadStream.php
index 0465b20ef..d7a898704 100644
--- a/Zotlabs/Lib/ThreadStream.php
+++ b/Zotlabs/Lib/ThreadStream.php
@@ -22,6 +22,7 @@ class ThreadStream {
private $profile_owner = 0;
private $preview = false;
private $prepared_item = '';
+ public $reload = '';
private $cipher = 'aes256';
// $prepared_item is for use by alternate conversation structures such as photos
@@ -57,6 +58,11 @@ class ThreadStream {
$this->profile_owner = \App::$profile['profile_uid'];
$this->writable = perm_is_allowed($this->profile_owner,$ob_hash,'post_comments');
break;
+ case 'cards':
+ $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