From 3de762d42852174c2876845dd4eacdb1698a3647 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Sun, 12 Oct 2025 12:17:20 -0600 Subject: [PATCH] Fix stickers that don't provide content type --- src/matrix/api.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/matrix/api.js b/src/matrix/api.js index 41af63f..709d70c 100644 --- a/src/matrix/api.js +++ b/src/matrix/api.js @@ -384,7 +384,9 @@ async function getMedia(mxc, init = {}) { }, ...init }) - assert(res.body) + if (init.method !== "HEAD") { + assert(res.body) + } // @ts-ignore return res }