mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 13:45:10 +00:00
Merge branch 'master' of https://git.kappach.at/lda/Parsee into janet
This commit is contained in:
commit
81edbec1d0
1 changed files with 1 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue