SHA256
Каналы: исправить редактирование профиля
This commit is contained in:
+1
-1
@@ -417,7 +417,7 @@ final class ChannelsReadSupport {
|
|||||||
event.bchName = rs.getString("bch_name");
|
event.bchName = rs.getString("bch_name");
|
||||||
event.blockNumber = rs.getInt("block_number");
|
event.blockNumber = rs.getInt("block_number");
|
||||||
event.blockHash = rs.getBytes("block_hash");
|
event.blockHash = rs.getBytes("block_hash");
|
||||||
event.lineStep = (Integer) rs.getObject("this_line_number");
|
event.lineStep = null;
|
||||||
try {
|
try {
|
||||||
BchBlockEntry entry = new BchBlockEntry(rs.getBytes("block_bytes"));
|
BchBlockEntry entry = new BchBlockEntry(rs.getBytes("block_bytes"));
|
||||||
event.createdAtMs = entry.timestamp * 1000L;
|
event.createdAtMs = entry.timestamp * 1000L;
|
||||||
|
|||||||
+2
-2
@@ -1,2 +1,2 @@
|
|||||||
client.version=1.4.12
|
client.version=1.4.13
|
||||||
server.version=1.4.3
|
server.version=1.4.4
|
||||||
|
|||||||
@@ -2191,9 +2191,11 @@ export class AuthService {
|
|||||||
if (Number.isFinite(latestBlockNumber) && latestBlockNumber >= 0 && latestBlockHash) {
|
if (Number.isFinite(latestBlockNumber) && latestBlockNumber >= 0 && latestBlockHash) {
|
||||||
prevLineNumber = latestBlockNumber;
|
prevLineNumber = latestBlockNumber;
|
||||||
prevLineHashHex = latestBlockHash;
|
prevLineHashHex = latestBlockHash;
|
||||||
thisLineNumber = Number.isFinite(latestLineStep)
|
thisLineNumber = latest?.kind === 'created'
|
||||||
|
? 0
|
||||||
|
: Number.isFinite(latestLineStep)
|
||||||
? Math.max(0, latestLineStep + 1)
|
? Math.max(0, latestLineStep + 1)
|
||||||
: Math.max(1, latestBlockNumber === lineCode ? 1 : 0);
|
: (latestBlockNumber === lineCode ? 0 : 1);
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
// fallback to root anchor
|
// fallback to root anchor
|
||||||
|
|||||||
@@ -4352,16 +4352,16 @@ textarea.input {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.channel-row {
|
.channel-row {
|
||||||
grid-template-columns: 40px minmax(0, 1fr) 64px;
|
grid-template-columns: 64px minmax(0, 1fr) 64px;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.channel-row .avatar {
|
.channel-row .avatar {
|
||||||
width: 38px;
|
width: 64px;
|
||||||
height: 38px;
|
height: 64px;
|
||||||
min-width: 38px;
|
min-width: 64px;
|
||||||
min-height: 38px;
|
min-height: 64px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.channel-row-title {
|
.channel-row-title {
|
||||||
@@ -5034,10 +5034,11 @@ textarea.input {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.channel-row .avatar {
|
.channel-row .avatar {
|
||||||
width: 44px;
|
width: 68px;
|
||||||
height: 44px;
|
height: 68px;
|
||||||
min-width: 44px;
|
min-width: 68px;
|
||||||
min-height: 44px;
|
min-height: 68px;
|
||||||
|
border-radius: 50%;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user