// Module ID: 8494 // Function ID: 67824 // Name: shouldDisableUserPresenceInChannel // Dependencies: [] // Exports: shouldDisableUserPresenceInChannel // Module 8494 (shouldDisableUserPresenceInChannel) let closure_0 = importDefault(dependencyMap[0]); const result = arg1(dependencyMap[1]).fileFinishedImporting("modules/applications/ApplicationPresenceUtils.tsx"); export const shouldDisableUserPresenceInChannel = function shouldDisableUserPresenceInChannel(stateFromStores, channelId) { let channel = stateFromStores; channel = channel.getChannel(channelId); let tmp = null != channel && stateFromStores.bot && channel.isPrivate(); if (tmp) { const rawRecipients = channel.rawRecipients; tmp = null == rawRecipients.find((id) => id.id === id.id); } return tmp; };