diff --git a/web/app/controllers/user_msg.php b/web/app/controllers/user_msg.php index 0478b44..0ec5740 100644 --- a/web/app/controllers/user_msg.php +++ b/web/app/controllers/user_msg.php @@ -260,7 +260,7 @@ if (isset($_POST['user_msg'])) { function addBubble(content, send_time, read_time, msgId, conversation, page, type) { $("#history-list").append( '
' + - (type ? '' : '') + + (type ? '' : '') + '
' + '
' + htmlspecialchars(content) + @@ -271,10 +271,10 @@ if (isset($_POST['user_msg'])) { '' + (read_time == null ? '' : - '') + + '') + '
' + '
' + - (type ? '' : '') + + (type ? '' : '') + '
' ); }