Skip to content

Commit

Permalink
Merge branch 'main' of github.com:grammyjs/telegram.tools
Browse files Browse the repository at this point in the history
  • Loading branch information
roj1512 committed Mar 20, 2024
2 parents 2a3ded4 + 85b261d commit 2d4db13
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 @@ -252,7 +252,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 2d4db13

Please sign in to comment.