]> git.mxchange.org Git - friendica.git/blobdiff - mod/network.php
first cut at ajax photo upload
[friendica.git] / mod / network.php
index 51b528832a88a55747003f2a6649573904d5e614..845a6bb77f55bff4fc5331a57c8dfc8250449696 100644 (file)
@@ -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');