mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 12:15:12 +00:00
[DEL] Remove 64KB avatar hardlimit
This commit is contained in:
parent
5d13410ac4
commit
56433fc69c
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);
|
b64i = Base64Encode(outi, sizei);
|
||||||
Free(outi);
|
Free(outi);
|
||||||
if (!b64i || strlen(b64i) > 64 KB)
|
if (!b64i)
|
||||||
{
|
{
|
||||||
Free(b64i);
|
|
||||||
Free(mimei);
|
Free(mimei);
|
||||||
b64i = StrDuplicate(media_unknown); /* TODO: Different assets! */
|
b64i = StrDuplicate(media_unknown); /* TODO: Different assets! */
|
||||||
mimei = StrDuplicate("image/png");
|
mimei = StrDuplicate("image/png");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue