From c550af26d561fe11c332f2ce1b05937d498fcf75 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Mon, 5 Feb 2024 21:21:28 +0700 Subject: [PATCH] Update privmsg.php --- privmsg.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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 //