1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-24 02:20:39 +00:00

Readd usage of PreParser which got lost in 805d7a3a11945a7dd9883226a05cf6f7524881ed

This commit is contained in:
Tim Düsterhus 2013-03-19 18:25:13 +01:00
parent 90b27972b0
commit db8b4ec26e

View File

@ -122,6 +122,8 @@ class MessageAction extends \wcf\data\AbstractDatabaseObjectAction {
$this->parameters['type'] = Message::TYPE_NORMAL;
$this->parameters['receiver'] = null;
}
$this->parameters['text'] = PreParser::getInstance()->parse($this->parameters['text'], explode(',', WCF::getSession()->getPermission('user.chat.allowedBBCodes')));
}
/**