aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filamento/src/lib.rs2
-rw-r--r--filamento/src/logic/connect.rs2
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;