aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-26 10:29:03 +0000
committerMario <mario@mariovavti.com>2021-01-26 10:29:03 +0000
commit6878445319374c3d98932b26a3a58a99c754df8f (patch)
tree25720473a41f0249801e162ab3da67905a7605ee /include/conversation.php
parentde34dac6cc3467280bc99b01e9ecf7470161a5d0 (diff)
downloadvolse-hubzilla-6878445319374c3d98932b26a3a58a99c754df8f.tar.gz
volse-hubzilla-6878445319374c3d98932b26a3a58a99c754df8f.tar.bz2
volse-hubzilla-6878445319374c3d98932b26a3a58a99c754df8f.zip
use mail envelope instead of lock icon for direct messages
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 087e8c135..002edef51 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -739,6 +739,8 @@ function conversation($items, $mode, $update, $page_mode = 'traditional', $prepa
? t('Private Message')
: false
);
+ $locktype = $item['item_private'];
+
$likebuttons = false;
$shareable = false;
@@ -783,6 +785,7 @@ function conversation($items, $mode, $update, $page_mode = 'traditional', $prepa
'name' => $profile_name,
'sparkle' => $sparkle,
'lock' => $lock,
+ 'locktype' => $locktype,
'thumb' => $profile_avatar,
'title' => $item['title'],
'body' => $body['html'],