aboutsummaryrefslogtreecommitdiffstats
path: root/mod/chatsvc.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-25 19:48:57 -0800
committerfriendica <info@friendica.com>2014-02-25 19:48:57 -0800
commit3fb26e06ab98d9eceb1450dbb519225203ed36ef (patch)
treea57d32f672b52ecdca1b87a2ef5d9343e708f3b9 /mod/chatsvc.php
parente7e97e578b3069b8d24ea2a18ce4d3648b402ca3 (diff)
parentc1f3c892b004eacb269fdc914d90792fa99f4d1a (diff)
downloadvolse-hubzilla-3fb26e06ab98d9eceb1450dbb519225203ed36ef.tar.gz
volse-hubzilla-3fb26e06ab98d9eceb1450dbb519225203ed36ef.tar.bz2
volse-hubzilla-3fb26e06ab98d9eceb1450dbb519225203ed36ef.zip
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'mod/chatsvc.php')
-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
+