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
|
|
@ -546,7 +546,6 @@ impl From<PubSub> for Element {
|
|||
mod tests {
|
||||
use super::*;
|
||||
use crate::data_forms::{DataForm, DataFormType, Field, FieldType};
|
||||
use jid::FullJid;
|
||||
|
||||
#[test]
|
||||
fn create() {
|
||||
|
|
@ -746,7 +745,7 @@ mod tests {
|
|||
let form = DataForm::try_from(elem).unwrap();
|
||||
|
||||
let options = Options {
|
||||
jid: Jid::Full(FullJid::new("juliet", "capulet.lit", "balcony")),
|
||||
jid: Jid::new("juliet@capulet.lit/balcony").unwrap(),
|
||||
node: None,
|
||||
subid: None,
|
||||
form: Some(form),
|
||||
|
|
|
|||
Loading…
Reference in a new issue