diff options
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>, |