Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slight problem with aioze client send_sticker method #61

Open
Nubuki-all opened this issue Dec 26, 2024 · 0 comments
Open

Slight problem with aioze client send_sticker method #61

Nubuki-all opened this issue Dec 26, 2024 · 0 comments

Comments

@Nubuki-all
Copy link
Contributor

if mime[0] == "image":

Is supposed to check if the sticker is an image but always returns false on jpegs (haven't checked other image types)
Here's a output of mine[0] on a jpeg image ;
JPEG image data, baseline, precision 8, 700x1561, components 3
Is this intended behavior?

Also I made some changes to (optionally) allow client to enforce non broken stickers by adjusting size to fit wa sticker size limit should I make a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant