Skip to content

Commit

Permalink
Update session_string.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
rojvv authored Mar 20, 2024
1 parent 3ba7aef commit 85b261d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/session_string.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export function serializeMtcute(
); // flags

writer.write(new Uint8Array([0x01])); // dc_version
writer.write(new Uint8Array([dcId])); // dc_id
writer.writeBytes(new Uint8Array([dcId])); // dc_id
writer.writeInt32(ip.includes(":") ? MTCUTE_IPV6_FLAG : 0); // dc_flags
writer.writeString(ip); // dc_ip
writer.writeInt32(port); // dc_port
Expand Down

0 comments on commit 85b261d

Please sign in to comment.