1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Removing topic-message as topic will be displayed outside the stream

This commit is contained in:
Tim Düsterhus 2011-12-03 15:23:28 +01:00
parent 80d7fb5bae
commit 1ac020f216

View File

@ -77,15 +77,6 @@ public function readData() {
'color1' => $this->userData['color'][1], 'color1' => $this->userData['color'][1],
'color2' => $this->userData['color'][2] 'color2' => $this->userData['color'][2]
)); ));
if ($this->room->topic != '') {
chat\message\ChatMessageEditor::create(array(
'roomID' => $this->room->roomID,
'sender' => WCF::getUser()->userID,
'time' => TIME_NOW,
'type' => chat\message\ChatMessage::TYPE_INFORMATION,
'message' => WCF::getLanguage()->getDynamicVariable($this->room->topic)
));
}
$this->readDefaultSmileys(); $this->readDefaultSmileys();
$this->readChatVersion(); $this->readChatVersion();