Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4941.js (118.4 MB)
28 lines
979 B
TypeScript
28 lines
979 B
TypeScript
// Module ID: 12686
|
|
// Function ID: 12687
|
|
// Name: useShouldBlockDMInputForQuarantinedUser
|
|
// Dependencies: [4976, 1074, 12517, 504, 2]
|
|
// Exports: default
|
|
|
|
// Module 12686 (useShouldBlockDMInputForQuarantinedUser)
|
|
import MessageStore from "MessageStore" /* 4976 */;
|
|
|
|
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;
|
|
};
|