1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Fix message sending when no smilies exist

see https://tims.bastelstu.be/forum/index.php/Thread/126-Empty-Meldung-bei-Eingabe/
This commit is contained in:
Tim Düsterhus 2014-03-11 20:40:45 +01:00
parent 3997f674a4
commit b459d35c25

View File

@ -61,7 +61,7 @@ public function validateSend() {
// read parameters // read parameters
$this->readString('text'); $this->readString('text');
$this->readBoolean('enableSmilies'); $this->readBoolean('enableSmilies', true);
$this->parameters['text'] = MessageUtil::stripCrap($this->parameters['text']); $this->parameters['text'] = MessageUtil::stripCrap($this->parameters['text']);
$this->parameters['enableHTML'] = false; $this->parameters['enableHTML'] = false;