// Module ID: 11104 // Function ID: 11105 // Name: getOptions // Dependencies: [4335, 589, 709, 2] // Module 11104 (getOptions) import { MessageSendLocation } from "MESSAGE_GROUP_SPACING"; import { Store } from "initialize"; let closure_1 = {}; class SendMessageOptionsStore extends Store { } SendMessageOptionsStore.prototype["getOptions"] = function getOptions(arg0) { return table[arg0]; }; SendMessageOptionsStore.displayName = "SendMessageOptionsStore"; const sendMessageOptionsStore = new SendMessageOptionsStore(require("dispatcher"), { MESSAGE_CREATE: function handleMessageCreate(arg0) { let message; let sendMessageOptions; ({ message, sendMessageOptions } = arg0); if (null != sendMessageOptions) { const obj = {}; const merged = Object.assign(sendMessageOptions); let OTHER = sendMessageOptions.location; if (OTHER == null) { OTHER = MessageSendLocation.OTHER; } obj.location = OTHER; closure_1[message.id] = obj; const tmp3 = closure_1; } let tmp8 = null != message.nonce && message.nonce !== message.id; if (tmp8) { tmp8 = message.nonce in closure_1; } if (tmp8) { const nonce = message.nonce; delete tmp2[tmp]; } } }); const result = require("dispatcher").fileFinishedImporting("modules/messages/SendMessageOptionsStore.tsx"); export default sendMessageOptionsStore;