diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-03 16:33:48 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-03 16:33:48 -0700 |
commit | a7eae1031c8aa6a3a2ab202b2ba31fb6fade4bcd (patch) | |
tree | ff400a0e7ae49db0640452994031ad6253d80c1d /Zotlabs/Module/Mail.php | |
parent | df91b489c4e64049519d619f4457a671e47b9986 (diff) | |
download | volse-hubzilla-a7eae1031c8aa6a3a2ab202b2ba31fb6fade4bcd.tar.gz volse-hubzilla-a7eae1031c8aa6a3a2ab202b2ba31fb6fade4bcd.tar.bz2 volse-hubzilla-a7eae1031c8aa6a3a2ab202b2ba31fb6fade4bcd.zip |
update diaspora compatibility list, and also remove private mail 'unsend' (recall) from techlevel 0 which includes the basic server configuration. It's one less cross network compatibility issue that basic members will have to be aware of and one less complication for entry-level 'pro' members.
Diffstat (limited to 'Zotlabs/Module/Mail.php')
-rw-r--r-- | Zotlabs/Module/Mail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Mail.php b/Zotlabs/Module/Mail.php index 043c28078..933739b74 100644 --- a/Zotlabs/Module/Mail.php +++ b/Zotlabs/Module/Mail.php @@ -332,7 +332,7 @@ class Mail extends \Zotlabs\Web\Controller { 'delete' => t('Delete message'), 'dreport' => t('Delivery report'), 'recall' => t('Recall message'), - 'can_recall' => (($channel['channel_hash'] == $message['from_xchan']) ? true : false), + 'can_recall' => (($channel['channel_hash'] == $message['from_xchan'] && get_account_techlevel() > 0) ? true : false), 'is_recalled' => (intval($message['mail_recalled']) ? t('Message has been recalled.') : ''), 'date' => datetime_convert('UTC',date_default_timezone_get(),$message['created'], 'c'), ); |