Skip to content

Fix custom emoji category creation silently erroring out on duplicate category#12647

Merged
Gargron merged 1 commit intomastodon:masterfrom
ClearlyClaire:fixes/duplicate-emoji-category
Dec 18, 2019
Merged

Fix custom emoji category creation silently erroring out on duplicate category#12647
Gargron merged 1 commit intomastodon:masterfrom
ClearlyClaire:fixes/duplicate-emoji-category

Conversation

@ClearlyClaire
Copy link
Copy Markdown
Contributor

I decided to not error out, and instead, just re-use the existing category if any. I think this is more helpful this way, and it is also easier to write.

Fixes #12608

… category

Instead, just re-use the existing category if any.

Fixes mastodon#12608
@Gargron Gargron merged commit c0ed53b into mastodon:master Dec 18, 2019
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

Successfully merging this pull request may close these issues.

Catergorizing custom emojis with a "new category" that already exists leads to a white page

3 participants