prettier
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 33m8s

This commit is contained in:
2025-06-18 12:37:41 -04:00
parent 066827f8f1
commit b56c3efde0

View File

@ -367,7 +367,8 @@ class TfElement extends LitElement {
'"' + this.whoami.replace('"', '""') + '"',
this.whoami,
];
let channels = (await Promise.all([
let channels = (
await Promise.all([
this.query_timed(
`
SELECT channels.value AS channel, MAX(messages.rowid) AS rowid FROM messages
@ -425,7 +426,8 @@ class TfElement extends LitElement {
`,
k_args
),
])).flat();
])
).flat();
let latest = {};
for (let row of channels) {
if (!latest[row.channel]) {