apply difference between mailbox and account
This commit is contained in:
@@ -88,8 +88,10 @@ async function getMessages(roomId) {
|
||||
) content ON msg.message_id = content.message_id
|
||||
|
||||
INNER JOIN message ON message.message_id = msg.message_id
|
||||
|
||||
WHERE msg.room_id = ?
|
||||
GROUP BY msg.message_id;
|
||||
GROUP BY msg.message_id
|
||||
ORDER BY message.idate;
|
||||
`;
|
||||
const values = [roomId];
|
||||
return await execQueryAsync(query, values);
|
||||
|
||||
Reference in New Issue
Block a user