"Failed to delete emoji" error message when successfully deleting custom server emojis

(#336) Bug Fixed emoji

Summary

What happened: When a user attempts to delete a custom emoji from a server, the application displays an error message stating that the emoji could not be deleted. However, upon checking the emoji list or refreshing, the emoji has actually been successfully removed from the server. What I expected instead: The application should only show an error message if the deletion actually failed.

Steps to reproduce

  1. Navigate to the Server Settings of a server where you have permissions to manage emojis.
  2. Go to the Emoji tab.
  3. Select a custom emoji and click the Delete button.
  4. Error message appears.
  5. Check the list to see that the emoji is actually gone.

Logs or screenshots (optional)

555901033-a9935c6e-4bc4-44ad-b4be-804950b6b4cd.mp4
555901033-a9935c6e-4bc4-44ad-b4be-804950b6b4cd.mp4 | 6.4 MB

1 comment

Sign in with Fluxer to comment and vote.
Comment by @zenmetsu
RexSystem 1 vote originally by @zenmetsu on GitHub
I confirm that this was seen on my self-hosted server as well.