Website icon indicating copy to clipboard operation
Website copied to clipboard

Unable to recreate personal emote sets

Open skillraider opened this issue 2 years ago • 1 comments

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

skillraider avatar Jun 09 '23 03:06 skillraider

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.

sambegui avatar Jul 12 '23 02:07 sambegui