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:
parent
80d7fb5bae
commit
1ac020f216
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user