aboutsummaryrefslogtreecommitdiffstats
path: root/stanza/src/xep_0060/owner.rs
diff options
context:
space:
mode:
Diffstat (limited to 'stanza/src/xep_0060/owner.rs')
-rw-r--r--stanza/src/xep_0060/owner.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/stanza/src/xep_0060/owner.rs b/stanza/src/xep_0060/owner.rs
index 0617712..4876bf5 100644
--- a/stanza/src/xep_0060/owner.rs
+++ b/stanza/src/xep_0060/owner.rs
@@ -1,6 +1,6 @@
use std::str::FromStr;
-use jid::JID;
+use jid::{BareJID, JID};
use peanuts::{DeserializeError, Element, FromElement, IntoElement};
use crate::xep_0004::X;
@@ -85,7 +85,7 @@ impl IntoElement for Affiliations {
#[derive(Clone, Debug)]
pub struct Affiliation {
affiliation: AffiliationType,
- jid: JID,
+ jid: BareJID,
}
impl FromElement for Affiliation {