diff options
author | 2025-06-01 13:31:52 +0100 | |
---|---|---|
committer | 2025-06-01 13:31:52 +0100 | |
commit | c6bdf077b82b30f8228b56702bd3ee71d92b3910 (patch) | |
tree | db12501d5d60906b77b19c1395a522967957c715 /stanza/src/xep_0060/owner.rs | |
parent | c196aecbe7b3b29fbfff9e997478688e6833b7f3 (diff) | |
download | luz-c6bdf077b82b30f8228b56702bd3ee71d92b3910.tar.gz luz-c6bdf077b82b30f8228b56702bd3ee71d92b3910.tar.bz2 luz-c6bdf077b82b30f8228b56702bd3ee71d92b3910.zip |
refactor: utilise new jid type safetyHEADmainjid-refactor
Diffstat (limited to 'stanza/src/xep_0060/owner.rs')
-rw-r--r-- | stanza/src/xep_0060/owner.rs | 4 |
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 { |