mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Use ViewableMessageList in ChatPage
This commit is contained in:
parent
6bb29146c6
commit
65f6f8d7b7
@ -127,7 +127,7 @@ public function readData() {
|
|||||||
$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…
Reference in New Issue
Block a user