mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-22 02:00:40 +00:00
Use ViewableMessageList in ChatPage
This commit is contained in:
parent
6bb29146c6
commit
65f6f8d7b7
@ -127,7 +127,7 @@ class ChatPage extends \wcf\page\AbstractPage {
|
||||
$messageAction->getReturnValues();
|
||||
}
|
||||
|
||||
$this->newestMessages = data\message\MessageList::getNewestMessages($this->room, CHAT_LASTMESSAGES);
|
||||
$this->newestMessages = data\message\ViewableMessageList::getNewestMessages($this->room, CHAT_LASTMESSAGES);
|
||||
try {
|
||||
$lastSeen = end($this->newestMessages)->messageID;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user