aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Ping.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-24 20:58:25 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-24 20:58:25 +0200
commit5c4fbbebe1bd633e30a907b4a188d04c2f2f4fb0 (patch)
tree62571dcc8ca41b96af64bfca4f61dba8eef689c4 /Zotlabs/Module/Ping.php
parent615402ea83e0ff3fa4b92a1e50ef40f8d18d61f5 (diff)
downloadvolse-hubzilla-5c4fbbebe1bd633e30a907b4a188d04c2f2f4fb0.tar.gz
volse-hubzilla-5c4fbbebe1bd633e30a907b4a188d04c2f2f4fb0.tar.bz2
volse-hubzilla-5c4fbbebe1bd633e30a907b4a188d04c2f2f4fb0.zip
refine stream filter and forum notification behaviour (mostly for performance). personal posts will be displayed in unthreaded mode and clicking a forum notification will show only the unseen items of the forum in unthreaded mode. group the filters in the widget - threaded at the top, unthreaded beneath.
Diffstat (limited to 'Zotlabs/Module/Ping.php')
-rw-r--r--Zotlabs/Module/Ping.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Ping.php b/Zotlabs/Module/Ping.php
index 14627f56e..bc6985301 100644
--- a/Zotlabs/Module/Ping.php
+++ b/Zotlabs/Module/Ping.php
@@ -650,7 +650,7 @@ class Ping extends \Zotlabs\Web\Controller {
dbesc($forums[$x]['xchan_hash'])
);
if($r[0]['unseen']) {
- $forums[$x]['notify_link'] = (($forums[$x]['private_forum']) ? $forums[$x]['xchan_url'] : z_root() . '/network/?f=&pf=1&cid=' . $forums[$x]['abook_id']);
+ $forums[$x]['notify_link'] = (($forums[$x]['private_forum']) ? $forums[$x]['xchan_url'] : z_root() . '/network/?f=&pf=1&unseen=1&cid=' . $forums[$x]['abook_id']);
$forums[$x]['name'] = $forums[$x]['xchan_name'];
$forums[$x]['url'] = $forums[$x]['xchan_url'];
$forums[$x]['photo'] = $forums[$x]['xchan_photo_s'];