Merge pull request #340 from beardy-unixer/master

Fix the weirdness of messages appearing in the middle of the screen
This commit is contained in:
friendica 2014-02-26 13:04:16 +11:00
commit c1f3c892b0

View File

@ -113,7 +113,7 @@ function chatsvc_content(&$a) {
$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($lastseen)
);
@ -147,4 +147,4 @@ function chatsvc_content(&$a) {
json_return_and_die($ret);
}