decord/source/components_native/channel_settings/ChannelSettingsUtils.tsx
github-actions a36fe4ec9c chore: update source for alpha 347.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-14 20:04:03 +00:00

28 lines
818 B
TypeScript

// Module ID: 16929
// Function ID: 16930
// Name: ChannelSettingsUtils
// Dependencies: [2]
// Exports: getIsChannelNameSettingEditable
// Module 16929 (ChannelSettingsUtils)
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("components_native/channel_settings/ChannelSettingsUtils.tsx");
export const getIsChannelNameSettingEditable = function getIsChannelNameSettingEditable(arg0) {
({ canManageThread, canSendMessages, isForumPost, isChannelOwner } = arg0);
if (!isForumPost) {
canSendMessages = canManageThread;
if (!isForumPost) {
canSendMessages = tmp;
if (tmp2) {
let tmp3 = canManageThread;
if (!canManageThread) {
tmp3 = isChannelOwner;
}
canSendMessages = tmp3;
}
}
}
return canSendMessages;
};