From 57bdc37ddb339ed4811e68cd517db4e396280c74 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 4 Oct 2006 12:58:09 +0000 Subject: [PATCH] Committed a fix for streaming chat from Dan Polawski, MDL-6791 Seems to help! --- mod/chat/gui_header_js/insert.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mod/chat/gui_header_js/insert.php b/mod/chat/gui_header_js/insert.php index 77e127c8a7b..799d6842c78 100644 --- a/mod/chat/gui_header_js/insert.php +++ b/mod/chat/gui_header_js/insert.php @@ -58,7 +58,11 @@ if ($chatuser->version == 'header_js') { /// force msg referesh ASAP - echo ''; + if ($CFG->chat_normal_updatemode == 'jsupdated') { // See bug MDL-6791 + echo ''; + } else { + echo ''; + } } redirect('../empty.php');