Skip to content

Commit

Permalink
Address last comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gferon committed Jan 2, 2025
1 parent 3551938 commit 26467a6
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions presage-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -828,14 +828,7 @@ async fn run<S: Store>(subcommand: Cmd, config_store: S) -> anyhow::Result<()> {
}
Cmd::SyncContacts => {
let mut manager = Manager::load_registered(config_store).await?;
let sync_message = SyncMessage {
request: Some(sync_message::Request {
r#type: Some(sync_message::request::Type::Contacts.into()),
}),
..SyncMessage::with_padding(&mut thread_rng())
};
let aci_self = Recipient::Contact(manager.registration_data().service_ids.aci);
send(&mut manager, aci_self, sync_message).await?;
manager.request_contacts().await?;
}
Cmd::ListMessages {
group_master_key,
Expand Down

0 comments on commit 26467a6

Please sign in to comment.