decord/source/modules/messages/getAdaptiveMessageLimit.native.tsx

20 lines
588 B
TypeScript
Raw Normal View History

// Module ID: 10034
// Function ID: 10035
// Name: getAdaptiveMessageLimit
// Dependencies: [1074, 2]
2026-07-20 16:05:17 +00:00
// Exports: getMessageLimit, useMessageLimit
// Module 10034 (getAdaptiveMessageLimit)
import Constants from "Constants" /* 1074 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const MAX_MESSAGES_PER_CHANNEL = Constants.MAX_MESSAGES_PER_CHANNEL;
const result = size.fileFinishedImporting("modules/messages/getAdaptiveMessageLimit.native.tsx");
2026-07-20 16:05:17 +00:00
export function getMessageLimit() {
2026-07-20 16:05:17 +00:00
return MAX_MESSAGES_PER_CHANNEL;
}
export function useMessageLimit() {
return MAX_MESSAGES_PER_CHANNEL;
}