Commit d15014ff authored by thiaramus's avatar thiaramus
Browse files

getMessage client compatibility fix

parent 3ffa125d
......@@ -56,7 +56,10 @@
$jam = new jam();
$message = $jam->getMessage($areas[$areaName]['filename'], $msgId);
$lastMsgNum = $jam->getLastNumActive($areas[$areaName]['filename']);
$message = $jam->getMessage($areas[$areaName]['filename'], $lastMsgNum - $msgId);
$message['text'] = str_replace( '<', '&lt;', $message['text'] );
$message['text'] = str_replace( '>', '&gt;', $message['text'] );
$this->response($message);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment