Open skillraider opened 1 year ago
A possible quick fix for this, may be to add validation to the interface on the website to check whether the emote set that is being deleted is categorized as a "Personal Emote Set" so users do not accidentally delete their emote sets.
Here's an example of how you might be able to apply the fix in EmoteInteractions.vue, a different variable may be needed to identify between a personal emote set versus a channel emote set.
const deleteEmote = () => {
if (props.emote && props.emote.owner?.id === clientUser.value.id) {
// Display an error message or take appropriate action
return;
}
// Existing delete emote logic
// ...
};
Or, simply removing the ability to use "deleteEmote" for Personal Emote Sets and leave the functionality as is for channel emote sets.
Current Behavior
Once a user has deleted their personal emote set, they are not able to recreate it.
Expected Behavior
If the user is a 7TV subscriber and they do not have an existing personal emote set, they should be able to create a new personal emote set.
Related issue from Extension: https://github.com/SevenTV/Extension/issues/650