Skip to content

Commit

Permalink
fix Endpoint constructor not accepting bytes as peer_tag argument on …
Browse files Browse the repository at this point in the history
…windows
  • Loading branch information
bakatrouble committed May 14, 2019
1 parent 329997a commit a195b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_tgvoip.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ struct Stats {
};

struct Endpoint {
Endpoint(int64_t id, const std::string &ip, const std::string &ipv6, uint16_t port, const std::string &peer_tag);
Endpoint(int64_t id, const std::string &ip, const std::string &ipv6, uint16_t port, const py::bytes &peer_tag);
int64_t id;
std::string ip;
std::string ipv6;
Expand Down

0 comments on commit a195b36

Please sign in to comment.