diff --git a/privmsg.php b/privmsg.php index c2570ab5..2b75260a 100644 --- a/privmsg.php +++ b/privmsg.php @@ -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 //