fix duplication of threads on account change

This commit is contained in:
grimhilt
2023-04-14 23:04:09 +02:00
parent 79e17ad24f
commit 956bc35158
2 changed files with 3 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ export async function getAccounts() {
return await execQueryAsync(query, values);
}
export async function getRooms(mailboxId) {
export async function getRooms(mailboxId: number) {
const query = `
SELECT
room.room_id AS id,