decord/stable/source/modules/quarantine/useShouldBlockDMInputForQuarantinedUser.tsx
github-actions 57c2214117 chore: update source for stable 347.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-29 21:26:22 +00:00

28 lines
979 B
TypeScript

// Module ID: 12717
// Function ID: 12718
// Name: useShouldBlockDMInputForQuarantinedUser
// Dependencies: [5008, 1074, 12548, 504, 2]
// Exports: default
// Module 12717 (useShouldBlockDMInputForQuarantinedUser)
import MessageStore from "MessageStore" /* 5008 */;
const require = globalThis.__r;
const require = fn;
const UserFlags = fn(1074).UserFlags;
const size = fn(2);
const result = size.fileFinishedImporting("modules/quarantine/useShouldBlockDMInputForQuarantinedUser.tsx");
export default function useShouldBlockDMInputForQuarantinedUser(hasFlag, channel) {
_require = channel;
const showConvoStarterInDM = require("useShowConvoStarterInDM").useShowConvoStarterInDM(channel);
require("initialize");
[][0] = channel;
let tmp4 = null != hasFlag;
if (tmp4) {
tmp4 = hasFlag.hasFlag(UserFlags.QUARANTINED) && showConvoStarterInDM && !tmp3;
const tmp6 = hasFlag.hasFlag(UserFlags.QUARANTINED) && showConvoStarterInDM && !tmp3;
}
return tmp4;
};