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

Fix TYPE_MODERATE in chat log download

This commit is contained in:
Tim Düsterhus 2014-02-27 16:41:05 +01:00
parent ad30fe8695
commit fb551a46ee

View File

@ -87,6 +87,7 @@ public function getFormattedMessage($type = 'text/html') {
$message = unserialize($message);
$message = WCF::getLanguage()->getDynamicVariable('chat.message.'.$this->type.'.'.$message['type'], $message ?: array());
if ($type === 'text/plain') return $message;
$message = $messageParser->parse($message, false, false, true, false);
break;
case self::TYPE_ATTACHMENT: