aboutsummaryrefslogblamecommitdiffstats
path: root/filamento/src/user.rs
blob: dc632ea8b88cbf21f8ba99ed427d159c576a45ee (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                      
                 
 

                                                                            
                                                                        
                 
                     
                             
                               
                                                 
 
// SPDX-FileCopyrightText: 2025 cel <cel@bunny.garden>
//
// SPDX-License-Identifier: AGPL-3.0-or-later

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: BareJID,
    pub nick: Option<String>,
    pub avatar: Option<String>,
    // pub cached_status_message: Option<String>,
}