diff options
Diffstat (limited to 'stanza/src/roster.rs')
-rw-r--r-- | stanza/src/roster.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stanza/src/roster.rs b/stanza/src/roster.rs index 14f65ef..dcbf017 100644 --- a/stanza/src/roster.rs +++ b/stanza/src/roster.rs @@ -1,6 +1,6 @@ use std::str::FromStr; -use jid::JID; +use jid::BareJID; use peanuts::{DeserializeError, Element, FromElement, IntoElement}; pub const XMLNS: &str = "jabber:iq:roster"; @@ -38,7 +38,7 @@ pub struct Item { /// signals subscription sub-states (server only) pub ask: bool, /// uniquely identifies item - pub jid: JID, + pub jid: BareJID, /// handle that is determined by user, not contact pub name: Option<String>, /// state of the presence subscription |