Attachment Modal: Fix missing Emoji Tooltip (#1275)
This commit is contained in:
parent
f04c52f8d6
commit
6200fcdc33
@ -31,6 +31,7 @@ export type OwnProps = {
|
|||||||
groupChatMembers?: ApiChatMember[];
|
groupChatMembers?: ApiChatMember[];
|
||||||
usersById?: Record<number, ApiUser>;
|
usersById?: Record<number, ApiUser>;
|
||||||
recentEmojis: string[];
|
recentEmojis: string[];
|
||||||
|
baseEmojiKeywords?: Record<string, string[]>;
|
||||||
emojiKeywords?: Record<string, string[]>;
|
emojiKeywords?: Record<string, string[]>;
|
||||||
addRecentEmoji: AnyToVoidFunction;
|
addRecentEmoji: AnyToVoidFunction;
|
||||||
onCaptionUpdate: (html: string) => void;
|
onCaptionUpdate: (html: string) => void;
|
||||||
@ -49,6 +50,7 @@ const AttachmentModal: FC<OwnProps> = ({
|
|||||||
currentUserId,
|
currentUserId,
|
||||||
usersById,
|
usersById,
|
||||||
recentEmojis,
|
recentEmojis,
|
||||||
|
baseEmojiKeywords,
|
||||||
emojiKeywords,
|
emojiKeywords,
|
||||||
onCaptionUpdate,
|
onCaptionUpdate,
|
||||||
addRecentEmoji,
|
addRecentEmoji,
|
||||||
@ -86,6 +88,7 @@ const AttachmentModal: FC<OwnProps> = ({
|
|||||||
recentEmojis,
|
recentEmojis,
|
||||||
EDITABLE_INPUT_MODAL_ID,
|
EDITABLE_INPUT_MODAL_ID,
|
||||||
onCaptionUpdate,
|
onCaptionUpdate,
|
||||||
|
baseEmojiKeywords,
|
||||||
emojiKeywords,
|
emojiKeywords,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -718,6 +718,7 @@ const Composer: FC<OwnProps & StateProps & DispatchProps> = ({
|
|||||||
usersById={usersById}
|
usersById={usersById}
|
||||||
recentEmojis={recentEmojis}
|
recentEmojis={recentEmojis}
|
||||||
onCaptionUpdate={setHtml}
|
onCaptionUpdate={setHtml}
|
||||||
|
baseEmojiKeywords={baseEmojiKeywords}
|
||||||
emojiKeywords={emojiKeywords}
|
emojiKeywords={emojiKeywords}
|
||||||
addRecentEmoji={addRecentEmoji}
|
addRecentEmoji={addRecentEmoji}
|
||||||
onSend={shouldSchedule ? openCalendar : handleSend}
|
onSend={shouldSchedule ? openCalendar : handleSend}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user