mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
mam: Bump jid to 0.3.1, to serialise it directly to a text node.
This commit is contained in:
parent
6e48d0f65a
commit
86eb65b829
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ license = "MPL-2.0"
|
|||
|
||||
[dependencies]
|
||||
minidom = "0.6.2"
|
||||
jid = { version = "0.3.0", features = ["minidom"] }
|
||||
jid = { version = "0.3.1", features = ["minidom"] }
|
||||
base64 = "0.7.0"
|
||||
digest = "0.6.0"
|
||||
sha-1 = "0.4.0"
|
||||
|
|
|
@ -199,7 +199,7 @@ fn serialise_jid_list(name: &str, jids: Vec<Jid>) -> Option<Element> {
|
|||
.append(jids.into_iter()
|
||||
.map(|jid| Element::builder("jid")
|
||||
.ns(ns::MAM)
|
||||
.append(String::from(jid))
|
||||
.append(jid)
|
||||
.build())
|
||||
.collect::<Vec<_>>())
|
||||
.build())
|
||||
|
|
Loading…
Reference in a new issue