Merge pull request #388 from BeaudanBrown/reverse-feed

Fix message order
pull/390/head
Beaudan Campbell-Brown 6 years ago committed by GitHub
commit 1400284a1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -157,7 +157,7 @@ class LokiPublicChannelAPI {
if (success) {
let receivedAt = new Date().getTime();
response.data.forEach(adnMessage => {
response.data.reverse().forEach(adnMessage => {
let timestamp = new Date(adnMessage.created_at).getTime();
let from = adnMessage.user.username;
let source;

Loading…
Cancel
Save