UI: каналы 1..32, публичный type=1 и актуальный prevLine перед записью

This commit is contained in:
AidarKC
2026-05-14 17:58:16 +03:00
parent 01b38952e5
commit ab31ccf6d8
6 changed files with 55 additions and 58 deletions
+2 -1
View File
@@ -55,9 +55,10 @@ export function toUserMessage(error, fallback = 'Действие не выпо
text.includes('channel name must match') ||
text.includes('channelname contains unsupported') ||
text.includes('channelname length must be 3..32') ||
text.includes('channelname length must be 1..32') ||
text.includes('bad_channel_name')
) {
return 'Некорректное название канала. Разрешены кириллица, латиница, цифры, пробел, _ и - (3..32 символа).';
return 'Некорректное название канала. Разрешены кириллица, латиница, цифры, пробел, _ и - (1..32 символа).';
}
if (text.includes('channel name is required') || text.includes('введите имя канала')) {