element-ios/RiotTests
Johannes Marbach d3b578e440 EmojiStore: Include short name when searching for emojis
This adds the "common" short name to the list of strings to match the search text
against. Previously, only the "other" short names were included in the comparison.
This causes an issue for certain emojis like, for instance, the "Hundred Points
Symbol" where the term "100" is *only* included in the common short name. As a
result, the emoji did not previously show up when searching for "100".

Note that as a side effect, searching for "2" will now also return things such as
the "dog2" emoji. This matches the behavior in the Element Android app and also in
the emoji-mart Node.js package.

Closes: #4063

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2021-03-05 19:48:00 +01:00
..
EmojiServiceTests.swift Emoji picker: Handle Manu's comments. 2019-07-26 14:06:19 +02:00
EmojiStoreTests.swift EmojiStore: Include short name when searching for emojis 2021-03-05 19:48:00 +01:00
Info.plist Rebranding: replace Vector by Riot everywhere in the git and github repos 2017-03-08 10:30:44 +01:00
JitsiWellKnownTests.swift Add Jitsi Well Known codable representation. 2020-10-27 10:16:39 +01:00
RiotTests-Bridging-Header.h Emoji picker: Add Emoji parsing unit tests. 2019-07-25 16:58:14 +02:00
RiotTests.m Rebranding: replace Vector by Riot everywhere in the git and github repos 2017-03-08 10:43:27 +01:00
target.yml XcodeGen: Removed useless postbuildScripts 2021-02-11 09:37:07 +01:00
UserInteractiveAuthenticationServiceTests.swift Fix pbxproj conflicts. 2021-02-11 15:06:07 +01:00