This commit is contained in:
friendica 2014-02-25 19:48:57 -08:00
commit 3fb26e06ab

View File

@ -113,7 +113,7 @@ function chatsvc_content(&$a) {
$chats = array(); $chats = array();
$r = q("select * from chat left join xchan on chat_xchan = xchan_hash where chat_room = %d and chat_id > %d", $r = q("select * from chat left join xchan on chat_xchan = xchan_hash where chat_room = %d and chat_id > %d order by created",
intval($a->data['chat']['room_id']), intval($a->data['chat']['room_id']),
intval($lastseen) intval($lastseen)
); );
@ -147,4 +147,4 @@ function chatsvc_content(&$a) {
json_return_and_die($ret); json_return_and_die($ret);
} }