mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-27 15:15:45 +01:00
`matchEmoji` combined alias scores wrongly. An exact match on the main alias scored 0, which is falsy, so a later matching alias overwrote it, and other multi-alias matches had their scores subtracted. Typing `:car` did not suggest 🚗 at all and `:boat` listed `rowboat` before `boat`. Each emoji now keeps its best alias score, and an exact match on any alias ranks first, like on GitHub, so `:uk` suggests 🇬🇧 before 🇺🇦. Assisted-by: Claude Code:claude-opus-5-5 --------- Co-authored-by: silverwind <me@silverwind.io>