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:
parent
e938614f01
commit
812ce1d5d4
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user