diff --git a/file/lib/data/chat/message/ChatMessage.class.php b/file/lib/data/chat/message/ChatMessage.class.php index 97b9b47..3dc464c 100755 --- a/file/lib/data/chat/message/ChatMessage.class.php +++ b/file/lib/data/chat/message/ChatMessage.class.php @@ -56,6 +56,12 @@ class ChatMessage extends \wcf\data\DatabaseObject { case self::TYPE_BACK: $message = WCF::getLanguage()->get('wcf.chat.message.'.$this->type); break; + case self::TYPE_AWAY: + WCF::getTPL()->assign(array( + 'message' => $message + )); + $message = WCF::getLanguage()->getDynamicVariable('wcf.chat.message.'.$this->type); + break; case self::TYPE_NORMAL: case self::TYPE_ME: case self::TYPE_WHISPER: diff --git a/language/de.xml b/language/de.xml index 256a50e..adc4060 100644 --- a/language/de.xml +++ b/language/de.xml @@ -71,6 +71,8 @@ + + @@ -84,4 +86,4 @@ - \ No newline at end of file +