mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Fix TYPE_MODERATE in chat log download
This commit is contained in:
parent
ad30fe8695
commit
fb551a46ee
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user