decord/beta/source/modules/messages/getAdaptiveMessageLimit.native.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

19 lines
588 B
TypeScript

// Module ID: 10198
// Function ID: 10199
// Name: getAdaptiveMessageLimit
// Dependencies: [1078, 2]
// Exports: getMessageLimit, useMessageLimit
// Module 10198 (getAdaptiveMessageLimit)
import Constants from "Constants" /* 1078 */;
import size from "module_2" /* 2 */;
const MAX_MESSAGES_PER_CHANNEL = Constants.MAX_MESSAGES_PER_CHANNEL;
const result = size.fileFinishedImporting("modules/messages/getAdaptiveMessageLimit.native.tsx");
export function getMessageLimit() {
return MAX_MESSAGES_PER_CHANNEL;
}
export function useMessageLimit() {
return MAX_MESSAGES_PER_CHANNEL;
}