matrix-bridge-teams 0.1.0

A bridge between Matrix and Microsoft Teams written in Rust
use anyhow::Result;

pub struct UserManager;

impl UserManager {
    pub fn new() -> Self {
        Self
    }

    pub async fn create_ghost_user(&self, localpart: &str) -> Result<String> {
        Ok(format!("@{}:localhost", localpart))
    }

    pub async fn set_display_name(&self, user_id: &str, display_name: &str) -> Result<()> {
        Ok(())
    }

    pub async fn set_avatar_url(&self, user_id: &str, avatar_url: &str) -> Result<()> {
        Ok(())
    }
}