Skip to content

Commit

Permalink
sort received messages by timestmap
Browse files Browse the repository at this point in the history
  • Loading branch information
zyuhel committed Feb 14, 2018
1 parent 58fe039 commit f188d76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/adamantServerApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f188d76

Please sign in to comment.