Каналы: исправить редактирование профиля

This commit is contained in:
AidarKC
2026-08-01 02:29:11 +04:00
parent 8303682bd7
commit e8398df9fc
4 changed files with 18 additions and 15 deletions
@@ -417,7 +417,7 @@ final class ChannelsReadSupport {
event.bchName = rs.getString("bch_name");
event.blockNumber = rs.getInt("block_number");
event.blockHash = rs.getBytes("block_hash");
event.lineStep = (Integer) rs.getObject("this_line_number");
event.lineStep = null;
try {
BchBlockEntry entry = new BchBlockEntry(rs.getBytes("block_bytes"));
event.createdAtMs = entry.timestamp * 1000L;
+2 -2
View File
@@ -1,2 +1,2 @@
client.version=1.4.12
server.version=1.4.3
client.version=1.4.13
server.version=1.4.4
+4 -2
View File
@@ -2191,9 +2191,11 @@ export class AuthService {
if (Number.isFinite(latestBlockNumber) && latestBlockNumber >= 0 && latestBlockHash) {
prevLineNumber = latestBlockNumber;
prevLineHashHex = latestBlockHash;
thisLineNumber = Number.isFinite(latestLineStep)
thisLineNumber = latest?.kind === 'created'
? 0
: Number.isFinite(latestLineStep)
? Math.max(0, latestLineStep + 1)
: Math.max(1, latestBlockNumber === lineCode ? 1 : 0);
: (latestBlockNumber === lineCode ? 0 : 1);
}
} catch {
// fallback to root anchor
+11 -10
View File
@@ -4351,17 +4351,17 @@ textarea.input {
font-size: 12px;
}
.channel-row {
grid-template-columns: 40px minmax(0, 1fr) 64px;
.channel-row {
grid-template-columns: 64px minmax(0, 1fr) 64px;
gap: 10px;
padding: 12px;
}
.channel-row .avatar {
width: 38px;
height: 38px;
min-width: 38px;
min-height: 38px;
width: 64px;
height: 64px;
min-width: 64px;
min-height: 64px;
}
.channel-row-title {
@@ -5034,10 +5034,11 @@ textarea.input {
}
.channel-row .avatar {
width: 44px;
height: 44px;
min-width: 44px;
min-height: 44px;
width: 68px;
height: 68px;
min-width: 68px;
min-height: 68px;
border-radius: 50%;
color: #ffffff;
font-weight: 700;
}