Skip to content

Making versions of an emote, then deleting the original before approval, causes owned_emotes to be stuck in deleted state #804

@brian6932

Description

@brian6932

The #bugs-and-stuff channel on Discord has has been archived, so I'm converting some issues to GitHub ones

  1. Upload an emote
  2. Upload a 2nd version
  3. Delete the 1st version
  4. Since emotes link to their original version in owned_emotes, and there's no way to set a default version yet
owned_emotes
{
	"data":
	{
		"user":
		{
			"owned_emotes":
			[
				{
					"id": "63615a32545fbd7ba91acc69",
					"name": "EvilAnya"
				},
				{
					"id": "636307172931d7f7a6833948",
					"name": "PepeHands"
				}
			]
		}
	}
}

This results in the site showing them as deleted, even though they are listed

  • Adding the newest version emote hash works fine
  • The newest version does show in public listings
  • Activity done for approval by mods doesn't show on the new id
emote_set.emotes
{
	"emotes": [
		{
			"id": "63615bb776ed2d74d9ed2bc7",
			"name": "EvilAnya"
		},
		{
			"id": "636308c41f7fe924a876f1f2",
			"name": "PepeHands"
		}
	]
}

Ideally this should just link to the new version of the emote, filter out the null/undefined/unreachable value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions