Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,27 @@
|
||||
/* Metro module 7875; source: modules/messages/useMessageMaxLength.tsx; dependencies: [1878, 661, 3802, 566, 2] */
|
||||
function _fun63126(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63126, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8053:6, offset: 0x01b714ac, size: 168 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const getMaxMessageLength_ = function(a0) {
|
||||
return importDefault(dependencyMap[2]).canUseIncreasedMessageLength(a0.getCurrentUser()) ? MAX_MESSAGE_LENGTH_PREMIUM : MAX_MESSAGE_LENGTH;
|
||||
};
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
|
||||
const constantsModule = require(661) /* metro dependency 661: Constants */;
|
||||
const env0_4 = constantsModule.MAX_MESSAGE_LENGTH_PREMIUM;
|
||||
const env0_5 = constantsModule.MAX_MESSAGE_LENGTH;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/messages/useMessageMaxLength.tsx');
|
||||
exports.default = function() {
|
||||
return require(dependencyMap[3]).useStateFromStores([UserStore], _fun63129);
|
||||
};
|
||||
exports.getMaxMessageLength = function() {
|
||||
return getMaxMessageLength_(UserStore);
|
||||
};
|
||||
}
|
||||
|
||||
function useMessageMaxLength() { // fn#63128, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8053:355, offset: 0x01b71593, size: 57 bytes, params: 1, frame: 13
|
||||
return (require(566) /* metro dependency 566: flux */).useStateFromStores([UserStore], function() {
|
||||
return getMaxMessageLength_(UserStore);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user