This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,30 @@
// 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;