| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-04-24 02:06:55 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-04-24 02:06:55 UTC |
| parent | 8e8c773d34886cfd69b25ed050bf3fd00a9359ca |
| borogove/Client.hx | +1 | -1 |
diff --git a/borogove/Client.hx b/borogove/Client.hx index e892c45..a14e009 100644 --- a/borogove/Client.hx +++ b/borogove/Client.hx @@ -407,7 +407,7 @@ class Client extends EventEmitter { brokenAvatars[avatarSha1.toHex()] = from; return; } - persistence.storeMedia(vcard.photo.mime, vcard.photo.data.getData()).then(_ -> { + persistence.storeMedia(vcard.photo.mime ?? "image/png", vcard.photo.data.getData()).then(_ -> { this.trigger("chats/update", [chat]); }); });