1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Merge branch 'master' into chatTemplate

This commit is contained in:
Tim Düsterhus 2011-12-10 16:47:23 +01:00
commit 07657cfea0

View File

@ -56,6 +56,11 @@ public function getFormattedMessage() {
case self::TYPE_LEAVE: case self::TYPE_LEAVE:
case self::TYPE_BACK: case self::TYPE_BACK:
$message = WCF::getLanguage()->get('wcf.chat.message.'.$this->type); $message = WCF::getLanguage()->get('wcf.chat.message.'.$this->type);
break;
case self::TYPE_NORMAL:
if (!$this->enableHTML) {
$message = \wcf\system\bbcode\SimpleMessageParser::getInstance()->parse($message, $this->enableSmilies);
}
} }
return $message; return $message;
} }