Skip to content

Commit

Permalink
fixed #82
Browse files Browse the repository at this point in the history
  • Loading branch information
quenbyako authored Aug 6, 2021
1 parent 04ee89d commit 13003ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegram/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func NewClient(c ClientConfig) (*Client, error) { //nolint: gocritic arg is not
continue
}

dcList[int(dc.ID)] = dc.IpAddress
dcList[int(dc.ID)] = dc.IpAddress + ":" + strconv.Itoa(int(dc.Port))

This comment has been minimized.

Copy link
@waybackarchiver

waybackarchiver Aug 6, 2021

Contributor

The strconv package seems not to import

This comment has been minimized.

Copy link
@waybackarchiver

waybackarchiver Aug 7, 2021

Contributor

I resolve it at #109

}
client.SetDCList(dcList)
return client, nil
Expand Down

0 comments on commit 13003ea

Please sign in to comment.