Обновить обработку аватаров и вложений

This commit is contained in:
AidarKC
2026-10-07 14:05:01 +03:00
parent 7b8e178723
commit d8f42c769c
35 changed files with 628 additions and 222 deletions
+2 -2
View File
@@ -150,9 +150,9 @@ function renderEmpty(activeTab) {
function renderAvatar(item) {
const profile = item.profile;
const avatar = profile?.avatar?.txId
const avatar = (profile?.avatar?.txId || profile?.avatar?.sha256Hex)
? {
ar: String(profile.avatar.txId || '').trim(),
ar: String(profile.avatar.txId || profile.avatar.ar || '').trim(),
sha256Hex: String(profile.avatar.sha256Hex || '').trim().toLowerCase(),
}
: null;