Tuesday, March 21, 2023
1 change · master
Resolved issues and error corrections
Fixed an issue in Knowledge where choosing a random icon for an article could select emojis that should be blocked. Random article icons now use only approved emojis, helping keep content presentation appropriate for users.
Original PR description
This commit fixes a bug introduced in c33fe997f270a086150b628ab1021e9469e89c02 where the addIcon function was modified to accomodate the Discuss refactor. Before this commit when adding a random icon to an article, the random selection of icons would always return the banned emojis, which is the opposite of the desired behavior. Now the icon is always an authorized emoji. task-3239114