xmpp-parsers: Update to the new jid crate
This commit is contained in:
parent
cdf4486e53
commit
022a920300
18 changed files with 61 additions and 50 deletions
|
|
@ -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()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue