-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
bug: server emoji count can be 1 more than the set limit #295
Comments
i think in addition to this the default emoji limit should be increased from 100 to 101 to keep consistency (some servers currently have 101 emotes) |
amycatgirl
added a commit
to amycatgirl/backend
that referenced
this issue
Dec 7, 2023
3 tasks
insertish
pushed a commit
that referenced
this issue
Feb 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
As pointed out by Toatrika#5321 on Revolt's Server, It seems like servers can have exactly one more emoji than the limit imposed by the server.
I checked the source code and found out that in line 48 of customization/emoji_create.rs, the backend is checking if the server's emoji count is greater than the maximum limit, which means that a server can have 101 emotes.
Proposed change (literally 2 characters that I am too lazy to change)
The text was updated successfully, but these errors were encountered: