Bug discussion: Do perm check before image upload for new accounts trying to upload images.
I see this error when I'm trying to upload an icon image for a community I've recently created:
{"data":{"error":"pictrs_response_error","message":"Your account is too new to upload images"},"state":"success"}
I suppose, if the state of upload was success, and assuming the API output is correct, that the image either got uploaded or got denied after upload.
It seems like we can do an improvement if there is a bug, that we should do perm check before image upload happens, this way, we can save bandwidth (i mean its negligible but i dont know if it happens in other places like image posts etc.).
And we can prevent useless upload/bandwidth usage (which i dont think happens in this case) and if this doesnt happen, then the API has a bug of giving a false status message?
Just discussing here before raising an enhancement issue on the github repo. The bug is either of the two cases, I'm not sure.