SHA256
CORE/CONTENT test5593 и адаптация UI
This commit is contained in:
@@ -320,8 +320,7 @@ async function resolveChannelDisplayNameFromServer(channelSelector) {
|
||||
if (!ownerLogin) return '';
|
||||
|
||||
try {
|
||||
const feed = await authService.listSubscriptionsFeed(ownerLogin, 1000);
|
||||
const rows = Array.isArray(feed?.ownedChannels) ? feed.ownedChannels : [];
|
||||
const rows = (await authService.listOwnedChannelSummaries(ownerLogin, 1000));
|
||||
const row = rows.find((item) => (
|
||||
String(item?.channel?.ownerBlockchainName || '').trim().toLowerCase() === ownerBch.toLowerCase()
|
||||
&& Number(item?.channel?.channelRoot?.blockNumber) === rootNo
|
||||
@@ -1444,9 +1443,8 @@ async function loadThreadData(sel, cacheKey, isCurrent) {
|
||||
}
|
||||
if (!channel && ownerLoginFromBch) {
|
||||
try {
|
||||
const ownerFeed = await authService.listSubscriptionsFeed(ownerLoginFromBch, 500);
|
||||
const ownerRows = (await authService.listOwnedChannelSummaries(ownerLoginFromBch, 500));
|
||||
if (!isCurrent()) return null;
|
||||
const ownerRows = Array.isArray(ownerFeed?.ownedChannels) ? ownerFeed.ownedChannels : [];
|
||||
channel = ownerRows.find((item) => (
|
||||
String(item?.channel?.ownerBlockchainName || '').trim().toLowerCase() === ownerNormalized
|
||||
&& String(item?.channel?.channelName || '').trim().toLowerCase() === channelNameNormalized
|
||||
|
||||
Reference in New Issue
Block a user