aboutsummaryrefslogtreecommitdiffstats
path: root/filamento/src/user.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-06-01 13:31:52 +0100
committerLibravatar cel 🌸 <cel@bunny.garden>2025-06-01 13:31:52 +0100
commitc6bdf077b82b30f8228b56702bd3ee71d92b3910 (patch)
treedb12501d5d60906b77b19c1395a522967957c715 /filamento/src/user.rs
parentc196aecbe7b3b29fbfff9e997478688e6833b7f3 (diff)
downloadluz-c6bdf077b82b30f8228b56702bd3ee71d92b3910.tar.gz
luz-c6bdf077b82b30f8228b56702bd3ee71d92b3910.tar.bz2
luz-c6bdf077b82b30f8228b56702bd3ee71d92b3910.zip
refactor: utilise new jid type safetyHEADmainjid-refactor
Diffstat (limited to 'filamento/src/user.rs')
-rw-r--r--filamento/src/user.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/filamento/src/user.rs b/filamento/src/user.rs
index f30933c..f962a4c 100644
--- a/filamento/src/user.rs
+++ b/filamento/src/user.rs
@@ -1,10 +1,10 @@
-use jid::JID;
+use jid::BareJID;
#[derive(Debug, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
#[cfg_attr(feature = "reactive_stores", derive(reactive_stores::Store))]
pub struct User {
- pub jid: JID,
+ pub jid: BareJID,
pub nick: Option<String>,
pub avatar: Option<String>,
// pub cached_status_message: Option<String>,