diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/conversation.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index 09bdc022f..9ffa1e77a 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -635,7 +635,11 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $ $star = false; $isstarred = "unstarred icon-star-empty"; - $lock = false; + $lock = (($item['item_private'] || strlen($item['allow_cid']) || strlen($item['allow_gid']) || strlen($item['deny_cid']) || strlen($item['deny_gid'])) + ? t('Private Message') + : false + ); + $likebuttons = false; $shareable = false; |