mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
In prefix sort, shifting of objs list to iterate through the elements caused the 'emoji_show_list' to be emptied each time it was passed as argument for sorting. This modifies prefix sort to prevent it from modifying the objs list passed as argument - changed it to normal iteration rather than popping the elements from objs list.
7.9 KiB
7.9 KiB