diff options
author | zotlabs <mike@macgirvin.com> | 2017-11-26 18:29:24 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-11-26 18:29:24 -0800 |
commit | 0e91810ed6764fbbee54e918711bfb45a1d9fd72 (patch) | |
tree | f6c3d995e438057161ecdd7f0afd479df5a751e6 /include/conversation.php | |
parent | e1fdac32782de11e443c7398ff3fb9870fa9b2d9 (diff) | |
download | volse-hubzilla-0e91810ed6764fbbee54e918711bfb45a1d9fd72.tar.gz volse-hubzilla-0e91810ed6764fbbee54e918711bfb45a1d9fd72.tar.bz2 volse-hubzilla-0e91810ed6764fbbee54e918711bfb45a1d9fd72.zip |
pubstream comments and a few other bugfixes that were discovered along the way
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php index 70a38ee8e..841a00d85 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -482,10 +482,10 @@ function conversation($items, $mode, $update, $page_mode = 'traditional', $prepa $previewing = (($preview) ? ' preview ' : ''); $preview_lbl = t('This is an unsaved preview'); - if ($mode === 'network') { + if (in_array($mode, [ 'network', 'pubstream'])) { $profile_owner = local_channel(); - $page_writeable = true; + $page_writeable = ((local_channel()) ? true : false); if (!$update) { // The special div is needed for liveUpdate to kick in for this page. |