diff --git a/src/main.js b/src/main.js index b65fac4..d325d1d 100644 --- a/src/main.js +++ b/src/main.js @@ -203,6 +203,8 @@ addInboxServerCommand('unblock', (msg, args, thread) => { addInboxServerCommand('logs', (msg, args, thread) => { async function getLogs(userId) { const userThreads = await threads.getClosedThreadsByUserId(userId); + userThreads.reverse(); + const threadLines = await Promise.all(userThreads.map(async thread => { const logUrl = await thread.getLogUrl(); const formattedDate = moment.utc(thread.created_at).format('MMM Do [at] HH:mm [UTC]');