mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Fix newest messages
This commit is contained in:
parent
e0859c5952
commit
101e90d906
@ -221,7 +221,7 @@ public function join() {
|
||||
$messageAction->executeAction();
|
||||
}
|
||||
|
||||
$newestMessages = message\ViewableMessageList::getNewestMessages($room, CHAT_LASTMESSAGES);
|
||||
$newestMessages = message\ViewableMessageList::getNewestMessages($room, CHAT_LASTMESSAGES + 1);
|
||||
|
||||
try {
|
||||
$lastSeen = end($newestMessages)->messageID;
|
||||
|
Loading…
Reference in New Issue
Block a user