aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-19 00:56:05 -0800
committerfriendica <info@friendica.com>2014-11-19 00:56:05 -0800
commit4893e64c1e871e22385e2c3db2d0815d872858fa (patch)
treef3f46608d30f2315d659baa7f6bd3fa73bd186f3
parentefcbcd6f8809a7540bae6eb0a8c38c60def86537 (diff)
downloadvolse-hubzilla-4893e64c1e871e22385e2c3db2d0815d872858fa.tar.gz
volse-hubzilla-4893e64c1e871e22385e2c3db2d0815d872858fa.tar.bz2
volse-hubzilla-4893e64c1e871e22385e2c3db2d0815d872858fa.zip
there's still a permission issue delivering a public post directly to the sys channel (on the local system), but this puts the local sys channel in the public delivery chain and fixes an issue with unseen counts showing on the discover page (where you can't do anything about it).
-rw-r--r--include/ItemObject.php2
-rw-r--r--include/zot.php2
-rw-r--r--version.inc2
3 files changed, 4 insertions, 2 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index 6f1c76fa1..f6f7c0fba 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -79,7 +79,7 @@ class Item extends BaseObject {
$indent = '';
$osparkle = '';
$total_children = $this->count_descendants();
- $unseen_comments = (($item->real_uid) ? 0 : $this->count_unseen_descendants());
+ $unseen_comments = (($item['real_uid']) ? 0 : $this->count_unseen_descendants());
$conv = $this->get_conversation();
$observer = $conv->get_observer();
diff --git a/include/zot.php b/include/zot.php
index 837154ee8..d5789438c 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1313,6 +1313,8 @@ function public_recips($msg) {
$r = array_merge($r,$x);
+logger('message: ' . print_r($msg['message'],true));
+
if($include_sys && array_key_exists('public_scope',$msg['message']) && $msg['message']['public_scope'] === 'public') {
$sys = get_sys_channel();
if($sys)
diff --git a/version.inc b/version.inc
index 2679ebdf3..97d0c5a13 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2014-11-18.863
+2014-11-19.864