2026-09-05 10:56:28 +00:00
|
|
|
// Module ID: 7291
|
|
|
|
|
// Function ID: 7292
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isCurrentUserTeen
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [1371, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: isCurrentUserTeen
|
|
|
|
|
|
2026-09-05 10:56:28 +00:00
|
|
|
// Module 7291 (isCurrentUserTeen)
|
|
|
|
|
import closure_0 from "mergeGuildAvatar" /* 1371 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/self_mod/SelfModUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const isCurrentUserTeen = function isCurrentUserTeen() {
|
2026-07-23 10:11:24 +00:00
|
|
|
currentUser = currentUser.getCurrentUser();
|
2026-07-20 16:05:17 +00:00
|
|
|
let nsfwAllowed;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (currentUser != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
nsfwAllowed = currentUser.nsfwAllowed;
|
|
|
|
|
}
|
|
|
|
|
return false === nsfwAllowed;
|
|
|
|
|
};
|