Skip to content

Able to react with invalid emoji #8336

@graywolf336

Description

@graywolf336

Currently you're able to react to a message without providing a valid emoji.

setReaction needs to check for a valid emoji, regular and custom, before accepting the reaction.

Useful snippets:

RocketChat.models.EmojiCustom.findByNameOrAlias(filterReg, options)
RocketChat.emoji.list[regularEmoji]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions