Update privmsg.php

This commit is contained in:
Roman Kelesidis 2024-02-05 21:21:28 +07:00
parent 43b415d045
commit c550af26d5

View File

@ -72,6 +72,14 @@ $template->assign_vars(array(
'QUICK_REPLY' => ($bb_cfg['show_quick_reply'] && $folder == 'inbox' && $mode == 'read'),
));
//
// Set mode for quick reply
//
if (empty($mode) && $bb_cfg['show_quick_reply'] && ($folder == 'inbox') && $preview)
{
$mode = 'reply';
}
//
// Cancel
//