ios: add lol/strong/facepalm/shrug to Swift EMOJI map (#1197)
The Swift shortcodeโemoji map had drifted from web/static/emoji.js, missing lol (๐), strong (๐ช), facepalm (๐คฆ), shrug (๐คท). The drift-gate test (ComposerTypeaheadTests.testEmojiMapMatchesEmojiJS) compares both maps in both directions and was failing. Transcribe the four missing entries verbatim from emoji.js (web is canonical) into the hands & people section so the maps match.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 file changed,
+1
−0
ios/LChatCore/Sources/LChatCore/ComposerTypeahead.swift+1 −0
diff --git a/ios/LChatCore/Sources/LChatCore/ComposerTypeahead.swift b/ios/LChatCore/Sources/LChatCore/ComposerTypeahead.swift| index 213f457..72e084d 100644 |
| --- a/ios/LChatCore/Sources/LChatCore/ComposerTypeahead.swift |
| +++ b/ios/LChatCore/Sources/LChatCore/ComposerTypeahead.swift |
| @@ -243,6 +243,7 @@ public let EMOJI: [String: String] = [ |
| "wave": "๐", "raised_hands": "๐", "clap": "๐", "pray": "๐", "muscle": "๐ช", "point_up": "โ๏ธ", |
| "point_down": "๐", "point_left": "๐", "point_right": "๐", "v": "โ๏ธ", "crossed_fingers": "๐ค", |
| "handshake": "๐ค", "writing_hand": "โ๏ธ", "eyes": "๐", "brain": "๐ง ", "baby": "๐ถ", |
| + "shrug": "๐คท", "facepalm": "๐คฆ", "strong": "๐ช", "lol": "๐", |
| // animals & nature |
| "dog": "๐ถ", "cat": "๐ฑ", "mouse": "๐ญ", "fox": "๐ฆ", "bear": "๐ป", "panda_face": "๐ผ", "koala": "๐จ", |
| "tiger": "๐ฏ", "lion": "๐ฆ", "cow": "๐ฎ", "pig": "๐ท", "frog": "๐ธ", "monkey_face": "๐ต", "chicken": "๐", |