// Module ID: 10950 // Function ID: 10951 // Dependencies: [4982, 4024, 676, 2] // Exports: default // Module 10950 import closure_0 from "recomputeGuild" /* 4982 */; import closure_1 from "getUncachedChannelPermissions" /* 4024 */; import { Permissions } from "ME" /* 676 */; const result = require("set").fileFinishedImporting("modules/reactions/canAddNewReactions.tsx"); export default (getGuildId) => { const guildId = getGuildId.getGuildId(); let canChatInGuildResult = null != guildId; if (canChatInGuildResult) { canChatInGuildResult = closure_0.canChatInGuild(guildId); } if (canChatInGuildResult) { canChatInGuildResult = closure_1.can(Permissions.ADD_REACTIONS, getGuildId); } if (!canChatInGuildResult) { canChatInGuildResult = getGuildId.isPrivate(); } return canChatInGuildResult; };