decord/alpha/source/modules/messages/getAdaptiveMessageLimit.native.tsx
github-actions 6eea20b8e1 chore: update source for alpha 348.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-24 10:59:02 +00:00

19 lines
588 B
TypeScript

// Module ID: 10292
// Function ID: 10293
// Name: getAdaptiveMessageLimit
// Dependencies: [1074, 2]
// Exports: getMessageLimit, useMessageLimit
// Module 10292 (getAdaptiveMessageLimit)
import Constants from "Constants" /* 1074 */;
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;
}