1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Check some of our options

This commit is contained in:
Tim Düsterhus 2011-12-10 18:05:21 +01:00
parent e938614f01
commit 812ce1d5d4

View File

@ -69,6 +69,7 @@ public function readData() {
$this->readRoom();
$this->readUserData();
if (CHAT_DISPLAY_JOIN_LEAVE) {
$this->joinMessage = chat\message\ChatMessageEditor::create(array(
'roomID' => $this->room->roomID,
'sender' => WCF::getUser()->userID,
@ -79,11 +80,12 @@ public function readData() {
'color1' => $this->userData['color'][1],
'color2' => $this->userData['color'][2]
));
}
$this->readDefaultSmileys();
$this->readChatVersion();
$this->newestMessages = chat\message\ChatMessageList::getNewestMessages($this->room, 5);
$this->newestMessages = chat\message\ChatMessageList::getNewestMessages($this->room, CHAT_LASTMESSAGES);
}
/**