From 65f6f8d7b7360685885ee9b09e70e514e07b967f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 26 May 2013 16:20:51 +0200 Subject: [PATCH] Use ViewableMessageList in ChatPage --- file/lib/page/ChatPage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/lib/page/ChatPage.class.php b/file/lib/page/ChatPage.class.php index f8a26e6..47cb50e 100644 --- a/file/lib/page/ChatPage.class.php +++ b/file/lib/page/ChatPage.class.php @@ -127,7 +127,7 @@ public function readData() { $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; }