decord/source/components_native/channel_settings/ChannelSettingsUtils.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

28 lines
818 B
TypeScript

// Module ID: 17024
// Function ID: 17025
// Name: ChannelSettingsUtils
// Dependencies: [2]
// Exports: getIsChannelNameSettingEditable
// Module 17024 (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;
};