mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-04-06 11:34:52 +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();
|
$messageAction->getReturnValues();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->newestMessages = data\message\MessageList::getNewestMessages($this->room, CHAT_LASTMESSAGES);
|
$this->newestMessages = data\message\ViewableMessageList::getNewestMessages($this->room, CHAT_LASTMESSAGES);
|
||||||
try {
|
try {
|
||||||
$lastSeen = end($this->newestMessages)->messageID;
|
$lastSeen = end($this->newestMessages)->messageID;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user