Merge branch 'master' of https://git.kappach.at/lda/Parsee into janet

This commit is contained in:
LDA 2024-11-20 22:09:03 +01:00
commit 81edbec1d0

View file

@ -65,9 +65,8 @@ AvatarGrab(ParseeData *data, char *mxc, char **mime, char **b64, size_t *len)
b64i = Base64Encode(outi, sizei);
Free(outi);
if (!b64i || strlen(b64i) > 64 KB)
if (!b64i)
{
Free(b64i);
Free(mimei);
b64i = StrDuplicate(media_unknown); /* TODO: Different assets! */
mimei = StrDuplicate("image/png");