fix(app): use +:shortcode: for reactions, no space before emoji (#3001)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-28 00:48:23 +02:00
1 parent 5b280898c5
commit f6df3169ca
6 files changed
+68 -39

No files matched your search

@@ -326,7 +326,7 @@ export const LexicalChannelTextareaContent = observer(
}, [value, segmentManagerRef]);
const handleEmojiSelect = useCallback(
(emoji: FlatEmoji, shiftKey?: boolean): boolean => {
const didInsert = insertComposerEmoji(handleRef.current, emoji);
const didInsert = insertComposerEmoji(handleRef.current, emoji, {reactionShorthand: true});
if (didInsert && !shiftKey) {
ExpressionPickerCommands.close();
PopoutCommands.close(`expression-picker-${channel.id}`);