Skip to content

Commit

Permalink
Update mtproto.go
Browse files Browse the repository at this point in the history
ayayooo noob
  • Loading branch information
AmarnathCJD authored Dec 21, 2024
1 parent af57a1e commit 2a0c995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtproto.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ func (m *MTProto) connect(ctx context.Context) error {
}

func (m *MTProto) makeRequest(data tl.Object, expectedTypes ...reflect.Type) (any, error) {
if !m.TcpActive() {
for !m.TcpActive() {
time.Sleep(20 * time.Millisecond)
}

Expand Down

0 comments on commit 2a0c995

Please sign in to comment.