This commit is contained in:
Astro 2017-07-02 01:26:36 +02:00
parent 3c952e47d1
commit 32031a239e

View file

@ -46,6 +46,7 @@ impl Client {
} }
fn make_connect(jid: Jid, password: String, handle: &Handle) -> Box<Future<Item=XMPPStream, Error=String>> { fn make_connect(jid: Jid, password: String, handle: &Handle) -> Box<Future<Item=XMPPStream, Error=String>> {
// TODO: implement proper DNS SRV lookup
use std::net::ToSocketAddrs; use std::net::ToSocketAddrs;
let addr = "89.238.79.220:5222" let addr = "89.238.79.220:5222"
.to_socket_addrs().unwrap() .to_socket_addrs().unwrap()