2026-09-26 17:57:22 +00:00
|
|
|
// Module ID: 7565
|
|
|
|
|
// Function ID: 7566
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: SelfModUtils
|
2026-09-26 17:57:22 +00:00
|
|
|
// Dependencies: [1372, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: isCurrentUserTeen
|
|
|
|
|
|
2026-09-26 17:57:22 +00:00
|
|
|
// Module 7565 (SelfModUtils)
|
|
|
|
|
import UserStore from "UserStore" /* 1372 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/self_mod/SelfModUtils.tsx");
|
|
|
|
|
|
|
|
|
|
export const isCurrentUserTeen = function isCurrentUserTeen() {
|
|
|
|
|
const currentUser = UserStore.getCurrentUser();
|
|
|
|
|
let nsfwAllowed;
|
|
|
|
|
if (currentUser != null) {
|
|
|
|
|
nsfwAllowed = currentUser.nsfwAllowed;
|
|
|
|
|
}
|
|
|
|
|
return false === nsfwAllowed;
|
|
|
|
|
};
|