#[derive(Debug, Clone, PartialEq)]
pub enum Participant {
    Me,
    Remote {
        handle: String,
        contact_id: Option<String>,
    },
}

impl Participant {
    pub fn handle(&self) -> String {
        match self {
            Participant::Me => "(Me)".to_string(),
            Participant::Remote { handle, .. } => handle.clone(),
        }
    }

    // Temporary alias for backward compatibility
    pub fn display_name(&self) -> String {
        self.handle()
    }
}
