Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Alex Gleason 2025-02-03 23:07:10 +00:00
parent 18bfee45bd
commit a7452727b3

View file

@ -4,7 +4,7 @@ import { EventsDB } from '@/storages/EventsDB.ts';
const store = await Storages.db(); const store = await Storages.db();
const kysely = await Storages.kysely(); const kysely = await Storages.kysely();
for await (const msg of store.req([{ kinds: [1] }])) { // Only kind 1 can contain media in Ditto? for await (const msg of store.req([{}])) {
if (msg[0] === 'EVENT') { if (msg[0] === 'EVENT') {
const event = msg[2]; const event = msg[2];