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:
commit
07657cfea0
@ -56,6 +56,11 @@ public function getFormattedMessage() {
|
||||
case self::TYPE_LEAVE:
|
||||
case self::TYPE_BACK:
|
||||
$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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user