From: defacer Date: Mon, 23 Aug 2004 15:03:26 +0000 (+0000) Subject: More goodness! Goodness is on discount here in Greece! :P X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f0232c84fbb0e900831c42b3b65df17d69bd2f0c;p=moodle.git More goodness! Goodness is on discount here in Greece! :P --- diff --git a/mod/chat/chatd.php b/mod/chat/chatd.php index ebdeb9f5e6..8a315a2596 100755 --- a/mod/chat/chatd.php +++ b/mod/chat/chatd.php @@ -112,7 +112,7 @@ class ChatDaemon { ob_start(); echo ''; echo ''; echo ''; @@ -152,7 +151,7 @@ class ChatDaemon { echo '
'; // About 2K of HTML comments to force browsers to render the HTML - echo $GLOBALS['CHAT_DUMMY_DATA']; + // echo $GLOBALS['CHAT_DUMMY_DATA']; echo "\n\n"; @@ -554,6 +553,9 @@ class ChatDaemon { chat_socket_write($this->conn_sets[$sessionid][CHAT_CONNECTION_CHANNEL], ''); } + // Testing for Safari + $output->html .= $GLOBALS['CHAT_DUMMY_DATA']; + if(!chat_socket_write($this->conn_sets[$sessionid][CHAT_CONNECTION_CHANNEL], $output->html)) { // Send failed! We must now disconnect/forget about the user FIRST