// Metro module 9564 (f9565). import { MessageSendLocation } from "./MessageConstants"; import Module589 from "../../_bundle/Module589"; import Dispatcher from "../../Dispatcher"; let c6308_1 = {}; class SendMessageOptionsStore extends Module589.Store { static displayName = "SendMessageOptionsStore"; getOptions(a0) { return c6308_1[a0]; } } const sendMessageOptionsStore = new SendMessageOptionsStore(Dispatcher, { MESSAGE_CREATE: function handleMessageCreate({ message, sendMessageOptions }) { if (sendMessageOptions != null) { const id = message.id; let location2 = sendMessageOptions.location; if (location2 == null) { location2 = MessageSendLocation.OTHER; } c6308_1[id] = { ...sendMessageOptions, location: location2 }; } if (message.nonce != null && message.nonce !== message.id && message.nonce in c6308_1) { delete c6308_1[message.nonce]; } } }); export default sendMessageOptionsStore;