diff --git a/src/inc/trigger/parser.mjs b/src/inc/trigger/parser.mjs index 8e6df6c..0e49957 100644 --- a/src/inc/trigger/parser.mjs +++ b/src/inc/trigger/parser.mjs @@ -128,7 +128,7 @@ export default async bot => { await db` insert into items ${ db({ - src: e.photo ? "" : link, + src: e.media ? "" : link, dest: filename, mime: mime, size: size,