xmpp::Agent::wait_for_events cannot error
This commit is contained in:
parent
2fc8e1c1dd
commit
23e943825f
6 changed files with 18 additions and 22 deletions
|
|
@ -148,7 +148,8 @@ impl<C: ServerConnector> ClientBuilder<'_, C> {
|
|||
password: self.password.into(),
|
||||
server: self.server_connector.clone(),
|
||||
};
|
||||
let client = TokioXmppClient::new_with_config(config);
|
||||
let mut client = TokioXmppClient::new_with_config(config);
|
||||
client.set_reconnect(true);
|
||||
self.build_impl(client)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue