diff options
| author | 2025-04-11 05:38:16 +0100 | |
|---|---|---|
| committer | 2025-04-11 05:38:16 +0100 | |
| commit | d4afee032d5b4e491e5873cab4ed78c80fafe164 (patch) | |
| tree | 4a2ce47e1e1f954c525881f2249f5f06190cd6bf /filamento/src | |
| parent | aab4cd47b1d2da5539c50675be4c7a36898189ef (diff) | |
| download | luz-d4afee032d5b4e491e5873cab4ed78c80fafe164.tar.gz luz-d4afee032d5b4e491e5873cab4ed78c80fafe164.tar.bz2 luz-d4afee032d5b4e491e5873cab4ed78c80fafe164.zip | |
feat(filamento): `get_roster_with_users()` on client connect
Diffstat (limited to '')
| -rw-r--r-- | filamento/src/lib.rs | 2 | ||||
| -rw-r--r-- | filamento/src/logic/connect.rs | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/filamento/src/lib.rs b/filamento/src/lib.rs index 9fa254e..7bcf593 100644 --- a/filamento/src/lib.rs +++ b/filamento/src/lib.rs @@ -152,7 +152,7 @@ pub enum Command<Fs: FileStore> {  #[derive(Debug, Clone)]  pub enum UpdateMessage { -    Online(Online, Vec<Contact>), +    Online(Online, Vec<(Contact, User)>),      Offline(Offline),      /// received roster from jabber server (replace full app roster state with this)      /// is this needed? diff --git a/filamento/src/logic/connect.rs b/filamento/src/logic/connect.rs index 37cdad5..9d61ca4 100644 --- a/filamento/src/logic/connect.rs +++ b/filamento/src/logic/connect.rs @@ -19,7 +19,7 @@ pub async fn handle_connect<Fs: FileStore + Clone + Send + Sync>(      debug!("getting roster");      logic          .clone() -        .handle_online(Command::GetRoster(send), connection.clone()) +        .handle_online(Command::GetRosterWithUsers(send), connection.clone())          .await;      debug!("sent roster req");      let roster = recv.await; | 
