aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-12-27 18:19:51 -0800
committerfriendica <info@friendica.com>2014-12-27 18:19:51 -0800
commit50943f439cb755c052507b8b459740a0ded193c2 (patch)
tree42f8e8e3e89fd99aecf659505080d627e627a241 /mod/item.php
parent096956ff78db02f9cfe8a185ca53a4d775effddb (diff)
downloadvolse-hubzilla-50943f439cb755c052507b8b459740a0ded193c2.tar.gz
volse-hubzilla-50943f439cb755c052507b8b459740a0ded193c2.tar.bz2
volse-hubzilla-50943f439cb755c052507b8b459740a0ded193c2.zip
issue #777, make photo cache time configurable, read the comments.
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php
index 9ffcc7de2..f5a9a4b22 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -683,7 +683,8 @@ function item_post(&$a) {
}
}
- $item_flags |= ITEM_UNSEEN;
+ if(local_user() != $profile_uid)
+ $item_flags |= ITEM_UNSEEN;
if($post_type === 'wall' || $post_type === 'wall-comment')
$item_flags = $item_flags | ITEM_WALL;