@@ -166,10 +166,6 @@ impl ClientBuilder {
166166 /// [`Self::server_name`] [`Self::insecure_server_name_no_tls`],
167167 /// [`Self::server_name_or_homeserver_url`].
168168 /// If you set more than one, then whatever was set last will be used.
169- ///
170- /// **IMPORTANT:** this method should only be called for the initial
171- /// authentication. Calls to this method when restoring a previously
172- /// created session may end up with conflicting data.
173169 pub fn homeserver_url ( mut self , url : impl AsRef < str > ) -> Self {
174170 self . homeserver_cfg = Some ( HomeserverConfig :: HomeserverUrl ( url. as_ref ( ) . to_owned ( ) ) ) ;
175171 self
@@ -184,10 +180,6 @@ impl ClientBuilder {
184180 /// [`Self::server_name`] [`Self::insecure_server_name_no_tls`],
185181 /// [`Self::server_name_or_homeserver_url`].
186182 /// If you set more than one, then whatever was set last will be used.
187- ///
188- /// **IMPORTANT:** this method should only be called for the initial
189- /// authentication. Calls to this method when restoring a previously
190- /// created session may end up with conflicting data.
191183 pub fn server_name ( mut self , server_name : & ServerName ) -> Self {
192184 self . homeserver_cfg = Some ( HomeserverConfig :: ServerName {
193185 server : server_name. to_owned ( ) ,
@@ -205,10 +197,6 @@ impl ClientBuilder {
205197 /// [`Self::server_name`] [`Self::insecure_server_name_no_tls`],
206198 /// [`Self::server_name_or_homeserver_url`].
207199 /// If you set more than one, then whatever was set last will be used.
208- ///
209- /// **IMPORTANT:** this method should only be called for the initial
210- /// authentication. Calls to this method when restoring a previously
211- /// created session may end up with conflicting data.
212200 pub fn insecure_server_name_no_tls ( mut self , server_name : & ServerName ) -> Self {
213201 self . homeserver_cfg = Some ( HomeserverConfig :: ServerName {
214202 server : server_name. to_owned ( ) ,
@@ -227,10 +215,6 @@ impl ClientBuilder {
227215 /// [`Self::server_name`] [`Self::insecure_server_name_no_tls`],
228216 /// [`Self::server_name_or_homeserver_url`].
229217 /// If you set more than one, then whatever was set last will be used.
230- ///
231- /// **IMPORTANT:** this method should only be called for the initial
232- /// authentication. Calls to this method when restoring a previously
233- /// created session may end up with conflicting data.
234218 pub fn server_name_or_homeserver_url ( mut self , server_name_or_url : impl AsRef < str > ) -> Self {
235219 self . homeserver_cfg = Some ( HomeserverConfig :: ServerNameOrHomeserverUrl (
236220 server_name_or_url. as_ref ( ) . to_owned ( ) ,
0 commit comments