diff options
author | 2025-06-01 13:31:52 +0100 | |
---|---|---|
committer | 2025-06-01 13:31:52 +0100 | |
commit | c6bdf077b82b30f8228b56702bd3ee71d92b3910 (patch) | |
tree | db12501d5d60906b77b19c1395a522967957c715 /filamento/src/roster.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 'filamento/src/roster.rs')
-rw-r--r-- | filamento/src/roster.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filamento/src/roster.rs b/filamento/src/roster.rs index 6b61e10..0498278 100644 --- a/filamento/src/roster.rs +++ b/filamento/src/roster.rs @@ -1,6 +1,6 @@ use std::{collections::HashSet, fmt::Display}; -use jid::JID; +use jid::BareJID; use rusqlite::{ ToSql, types::{FromSql, ToSqlOutput, Value}, @@ -15,7 +15,7 @@ pub struct ContactUpdate { #[cfg_attr(feature = "reactive_stores", derive(reactive_stores::Store))] pub struct Contact { // jid is the id used to reference everything, but not the primary key - pub user_jid: JID, + pub user_jid: BareJID, pub subscription: Subscription, /// client user defined name pub name: Option<String>, |