aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/network.php b/mod/network.php
index 51b528832..845a6bb77 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -15,6 +15,11 @@ function network_content(&$a) {
$contact_id = $a->cid;
+ $r = q("UPDATE `item` SET `unseen` = 0
+ WHERE `unseen` = 1 AND `uid` = %d",
+ intval($_SESSION['uid'])
+ );
+
$tpl = file_get_contents('view/jot-header.tpl');