From f188d7644384d3319db73752921085d531692f86 Mon Sep 17 00:00:00 2001 From: Zyuhel Date: Wed, 14 Feb 2018 23:01:53 +0300 Subject: [PATCH] sort received messages by timestmap --- src/lib/adamantServerApi.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/adamantServerApi.js b/src/lib/adamantServerApi.js index 17b1b6784..58a76d481 100644 --- a/src/lib/adamantServerApi.js +++ b/src/lib/adamantServerApi.js @@ -464,6 +464,7 @@ function install (Vue) { if (offset) { queryString += '&offset=' + offset } + queryString += '&orderBy=timestamp:desc' var last = this.isLastScroll() this.$http.get(queryString).then(response => { var haveSubseqs = false