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:
commit
c1f3c892b0
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user