Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

[FIX] Slugify emoji aliases after splitting them

Open RavuAlHemio opened this issue 4 years ago • 0 comments

This allows to set multiple emoji aliases again. Otherwise the comma or space would have been replaced by an underscore before the splitting occurs.

Proposed changes (including videos or screenshots)

Split multiple emoji aliases on spaces or commas before slugifying them

Issue(s)

#18264

Steps to test or reproduce

Attempt to add an emoji with aliases specified as test1 test2 or test1,test2. The aliases are currently converted into a single alias test1_test2; after this fix, they are correctly split up into the aliases test1 and test2.

Further comments

RavuAlHemio avatar Dec 20 '21 01:12 RavuAlHemio