Attachment Modal: Fix missing Emoji Tooltip (#1275)

This commit is contained in:
Alexander Zinchuk 2021-07-15 01:35:52 +03:00
parent f04c52f8d6
commit 6200fcdc33
2 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,7 @@ export type OwnProps = {
groupChatMembers?: ApiChatMember[];
usersById?: Record<number, ApiUser>;
recentEmojis: string[];
baseEmojiKeywords?: Record<string, string[]>;
emojiKeywords?: Record<string, string[]>;
addRecentEmoji: AnyToVoidFunction;
onCaptionUpdate: (html: string) => void;
@ -49,6 +50,7 @@ const AttachmentModal: FC<OwnProps> = ({
currentUserId,
usersById,
recentEmojis,
baseEmojiKeywords,
emojiKeywords,
onCaptionUpdate,
addRecentEmoji,
@ -86,6 +88,7 @@ const AttachmentModal: FC<OwnProps> = ({
recentEmojis,
EDITABLE_INPUT_MODAL_ID,
onCaptionUpdate,
baseEmojiKeywords,
emojiKeywords,
);

View File

@ -718,6 +718,7 @@ const Composer: FC<OwnProps & StateProps & DispatchProps> = ({
usersById={usersById}
recentEmojis={recentEmojis}
onCaptionUpdate={setHtml}
baseEmojiKeywords={baseEmojiKeywords}
emojiKeywords={emojiKeywords}
addRecentEmoji={addRecentEmoji}
onSend={shouldSchedule ? openCalendar : handleSend}