Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Unable to recreate personal emote sets #979

Open
skillraider opened this issue Jun 9, 2023 · 1 comment
Open

Unable to recreate personal emote sets #979

skillraider opened this issue Jun 9, 2023 · 1 comment

Comments

@skillraider
Copy link

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: SevenTV/Extension#650

@sambegui
Copy link

sambegui commented Jul 12, 2023

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants