aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2014-02-26 01:57:29 +0000
committerThomas Willingham <founder@kakste.com>2014-02-26 01:57:29 +0000
commit04e6cb515b524b35ae9f8d20c4b131aa0429a784 (patch)
tree3873caeec1e1c31221e50508ea0a4b5e9f9093a5
parent2c72e49d1f63404b464f284d86ce2dce7f2eb493 (diff)
downloadvolse-hubzilla-04e6cb515b524b35ae9f8d20c4b131aa0429a784.tar.gz
volse-hubzilla-04e6cb515b524b35ae9f8d20c4b131aa0429a784.tar.bz2
volse-hubzilla-04e6cb515b524b35ae9f8d20c4b131aa0429a784.zip
Fix the weirdness of messages appearing in the middle of the screen
and working their way downwards one comment at a time as the ping runs when joining an active chat room.
-rw-r--r--mod/chatsvc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/chatsvc.php b/mod/chatsvc.php
index e6590f57a..9cc8778f5 100644
--- a/mod/chatsvc.php
+++ b/mod/chatsvc.php
@@ -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);
}
- \ No newline at end of file
+