2026-09-22 07:41:18 +00:00
|
|
|
// Module ID: 12692
|
|
|
|
|
// Function ID: 12693
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useShouldBlockDMInputForQuarantinedUser
|
2026-09-22 07:41:18 +00:00
|
|
|
// Dependencies: [4977, 1074, 12523, 504, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-22 07:41:18 +00:00
|
|
|
// Module 12692 (useShouldBlockDMInputForQuarantinedUser)
|
|
|
|
|
import MessageStore from "MessageStore" /* 4977 */;
|
2026-07-22 07:54:56 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const require = globalThis.__r;
|
|
|
|
|
|
|
|
|
|
const require = fn;
|
|
|
|
|
const UserFlags = fn(1074).UserFlags;
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/quarantine/useShouldBlockDMInputForQuarantinedUser.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function useShouldBlockDMInputForQuarantinedUser(hasFlag, channel) {
|
2026-09-10 05:38:07 +00:00
|
|
|
_require = channel;
|
|
|
|
|
const showConvoStarterInDM = require("useShowConvoStarterInDM").useShowConvoStarterInDM(channel);
|
|
|
|
|
require("initialize");
|
2026-07-20 16:05:17 +00:00
|
|
|
[][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;
|
|
|
|
|
};
|