eleven / messenger Public

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>
Dermot Daly efd0addf1af06d4daaea330a31717c2d4dc709f2 parent d58c762
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": "๐Ÿ”",