xmpp: Rename ClientBuilder::new_with_server to new_with_connector
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
a292e19314
commit
99036735a3
1 changed files with 2 additions and 2 deletions
|
@ -55,12 +55,12 @@ impl ClientBuilder<'_, tokio_xmpp::starttls::ServerConfig> {
|
|||
jid: BareJid,
|
||||
password: &'a str,
|
||||
) -> ClientBuilder<'a, tokio_xmpp::starttls::ServerConfig> {
|
||||
Self::new_with_server(jid, password, tokio_xmpp::starttls::ServerConfig::UseSrv)
|
||||
Self::new_with_connector(jid, password, tokio_xmpp::starttls::ServerConfig::UseSrv)
|
||||
}
|
||||
}
|
||||
|
||||
impl<C: ServerConnector> ClientBuilder<'_, C> {
|
||||
pub fn new_with_server<'a>(
|
||||
pub fn new_with_connector<'a>(
|
||||
jid: BareJid,
|
||||
password: &'a str,
|
||||
server_connector: C,
|
||||
|
|
Loading…
Reference in a new issue