xmpp-parsers: Update to the new jid crate

This commit is contained in:
Emmanuel Gil Peyrot 2023-06-20 14:07:50 +02:00
commit 022a920300
18 changed files with 61 additions and 50 deletions

View file

@ -75,7 +75,7 @@ mod tests {
let response = JidPrepResponse::try_from(elem).unwrap();
assert_eq!(
response.jid,
FullJid::new("romeo", "montague.lit", "orchard")
FullJid::new("romeo@montague.lit/orchard").unwrap()
);
}
}