aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-10-13 12:05:55 +0200
committerMario Vavti <mario@mariovavti.com>2015-10-13 12:05:55 +0200
commit3c74aec9739a85f6992090775587a1c93e6fa6bb (patch)
tree8d9e77d118d62070b75d7f4273ae607ce39f6f73 /mod
parent61e3ef2552584b356027f32be6399c07e2cf613e (diff)
downloadvolse-hubzilla-3c74aec9739a85f6992090775587a1c93e6fa6bb.tar.gz
volse-hubzilla-3c74aec9739a85f6992090775587a1c93e6fa6bb.tar.bz2
volse-hubzilla-3c74aec9739a85f6992090775587a1c93e6fa6bb.zip
fix /channel not updating after posting comment
Diffstat (limited to 'mod')
-rw-r--r--mod/channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/channel.php b/mod/channel.php
index f1b74136e..0af2666cc 100644
--- a/mod/channel.php
+++ b/mod/channel.php
@@ -173,7 +173,7 @@ function channel_content(&$a, $update = 0, $load = false) {
$r = q("SELECT distinct parent AS `item_id`, created from item
left join abook on ( item.owner_xchan = abook.abook_xchan $abook_uids )
WHERE uid = %d $item_normal
- AND item_wall = 1 AND item_unseen = 1
+ AND item_wall = 1 $simple_update
AND (abook.abook_blocked = 0 or abook.abook_flags is null)
$sql_extra
ORDER BY created DESC",