mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
18bfee45bd
commit
a7452727b3
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import { EventsDB } from '@/storages/EventsDB.ts';
|
|||
const store = await Storages.db();
|
||||
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') {
|
||||
const event = msg[2];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue