Files
discord-decomp/modules/action_sheet/native/components/EmojiRowUtils.tsx
T
2026-11-01 12:12:55 +02:00

7 lines
424 B
TypeScript

// Metro module 9966 (f9967).
import { MessageFlags, MessageStates, MessageTypes } from "../../../../Constants";
import { hasFlag } from "../../../../_bundle/Module1384";
export function shouldShowEmojiRow(a0, a1, a2) {
return (a0 ? a2 : a0) && a1.state !== MessageStates.SEND_FAILED && a1.state !== MessageStates.SENDING && a1.type !== MessageTypes.THREAD_STARTER_MESSAGE && !hasFlag(a1.flags, MessageFlags.EPHEMERAL);
}