// Module ID: 8341 // Function ID: 8342 // Name: ApplicationPresenceUtils // Dependencies: [2064, 2] // Exports: shouldDisableUserPresenceInChannel // Module 8341 (ApplicationPresenceUtils) import ChannelStore from "ChannelStore" /* 2064 */; import size from "module_2" /* 2 */; const result = size.fileFinishedImporting("modules/applications/ApplicationPresenceUtils.tsx"); export const shouldDisableUserPresenceInChannel = function shouldDisableUserPresenceInChannel(bot, channelId) { let closure_0 = bot; const channel = ChannelStore.getChannel(channelId); let tmp = null != channel && bot.bot && channel.isPrivate(); if (tmp) { const rawRecipients = channel.rawRecipients; tmp = null == rawRecipients.find((id) => id.id === id.id); } return tmp; };