Fix stickers that don't provide content type

This commit is contained in:
Cadence Ember 2025-10-12 12:17:20 -06:00
parent cffd3c9f2e
commit 3de762d428

View file

@ -384,7 +384,9 @@ async function getMedia(mxc, init = {}) {
},
...init
})
assert(res.body)
if (init.method !== "HEAD") {
assert(res.body)
}
// @ts-ignore
return res
}