minor fixes

This commit is contained in:
grimhilt
2023-04-16 15:22:49 +02:00
parent 614f7d9802
commit 0f063deff9
4 changed files with 22 additions and 3 deletions

View File

@@ -122,7 +122,7 @@ export async function getMessages(roomId: number) {
WHERE msg.room_id = ?
GROUP BY msg.message_id
ORDER BY message.idate DESC;
ORDER BY message.idate ASC;
`;
const values = [roomId];
return await execQueryAsync(query, values);