diff options
author | Mario <mario@mariovavti.com> | 2021-01-26 10:29:03 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-26 10:29:03 +0000 |
commit | 6878445319374c3d98932b26a3a58a99c754df8f (patch) | |
tree | 25720473a41f0249801e162ab3da67905a7605ee /Zotlabs/Lib | |
parent | de34dac6cc3467280bc99b01e9ecf7470161a5d0 (diff) | |
download | volse-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 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index b7eecbd94..2fb07c1cb 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -102,6 +102,7 @@ class ThreadItem { || strlen($item['deny_cid']) || strlen($item['deny_gid'])))) ? t('Private Message') : false); + $locktype = $item['item_private']; $shareable = ((($conv->get_profile_owner() == local_channel() && local_channel()) && ($item['item_private'] != 1)) ? true : false); @@ -432,6 +433,7 @@ class ThreadItem { 'editedtime' => (($item['edited'] != $item['created']) ? sprintf( t('last edited: %s'), datetime_convert('UTC', date_default_timezone_get(), $item['edited'], 'r')) : ''), 'expiretime' => (($item['expires'] > NULL_DATE) ? sprintf( t('Expires: %s'), datetime_convert('UTC', date_default_timezone_get(), $item['expires'], 'r')):''), 'lock' => $lock, + 'locktype' => $locktype, 'delayed' => $item['item_delayed'], 'privacy_warning' => $privacy_warning, 'verified' => $verified, |