diff --git a/mod/chat/chatd.php b/mod/chat/chatd.php
index ebdeb9f5e6a..8a315a2596c 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