xmpp-parsers: Simplify SASL mechanisms type
These can be a simple String for now.
This commit is contained in:
parent
23e943825f
commit
27e4499153
2 changed files with 23 additions and 15 deletions
|
|
@ -28,7 +28,7 @@ pub async fn auth<S: AsyncRead + AsyncWrite + Unpin>(
|
|||
.sasl_mechanisms
|
||||
.mechanisms
|
||||
.iter()
|
||||
.map(|item| item.mechanism.clone())
|
||||
.cloned()
|
||||
.collect();
|
||||
|
||||
for local_mech in local_mechs {
|
||||
|
|
|
|||
Loading…
Reference in a new issue