Добавить поддержку уведомлений

This commit is contained in:
2026-08-21 13:23:41 +03:00
parent 23bdadab56
commit 97f90167f1
23 changed files with 1177 additions and 63 deletions
+1 -1
View File
@@ -1370,7 +1370,7 @@ async function loadFromApi(route, channelId) {
throw new Error('Канал не найден.');
}
unreadCount = Number(channel?.unreadCount || 0);
messagesCount = Number(channel?.messagesCount || mergedMessages.length || 0);
messagesCount = Number(channel?.messagesCount || 0);
selector = {
ownerBlockchainName: String(channel.channel.ownerBlockchainName),
channelRootBlockNumber: Number(channel.channel.channelRoot.blockNumber),