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:
parent
ad30fe8695
commit
fb551a46ee
@ -87,6 +87,7 @@ public function getFormattedMessage($type = 'text/html') {
|
|||||||
$message = unserialize($message);
|
$message = unserialize($message);
|
||||||
$message = WCF::getLanguage()->getDynamicVariable('chat.message.'.$this->type.'.'.$message['type'], $message ?: array());
|
$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);
|
$message = $messageParser->parse($message, false, false, true, false);
|
||||||
break;
|
break;
|
||||||
case self::TYPE_ATTACHMENT:
|
case self::TYPE_ATTACHMENT:
|
||||||
|
Loading…
Reference in New Issue
Block a user