Skip to content

Commit

Permalink
Update to presage commit e2392c4.
Browse files Browse the repository at this point in the history
  • Loading branch information
hoehermann committed Jul 27, 2024
1 parent e7a3f41 commit 1d8bbd4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ name = "purple_presage_backend"
path = "src/lib.rs"
crate-type = ["staticlib"]

# presage needs this, taken from https://github.com/whisperfish/presage/blob/f93f2dee5b9f0ca3b30b545143194431d9136549/Cargo.toml
# presage needs this, taken from https://github.com/whisperfish/presage/blob/e2392c42a0392397b9db782607fdd7ab2ea91b5f/Cargo.toml
[patch.crates-io]
curve25519-dalek = { git = 'https://github.com/signalapp/curve25519-dalek', tag = 'signal-curve25519-4.1.1' }
curve25519-dalek = { git = 'https://github.com/signalapp/curve25519-dalek', tag = 'signal-curve25519-4.1.3' }

[dependencies]
# note: tag = "0.6.1" did not receive any SynchronizeMessage
presage = { git = "https://github.com/whisperfish/presage", rev = "f93f2dee5b9f0ca3b30b545143194431d9136549" }
presage-store-sled = { git = "https://github.com/whisperfish/presage", rev = "f93f2dee5b9f0ca3b30b545143194431d9136549" }
presage = { git = "https://github.com/whisperfish/presage", rev = "e2392c42a0392397b9db782607fdd7ab2ea91b5f" }
presage-store-sled = { git = "https://github.com/whisperfish/presage", rev = "e2392c42a0392397b9db782607fdd7ab2ea91b5f" }

hex = "*"
mime_guess = "2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/rust/src/send_text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub async fn send<C: presage::store::Store + 'static>(
timestamp: Some(timestamp),
..Default::default()
});
manager.send_message(uuid, data_message, timestamp).await?;
manager.send_message(presage::libsignal_service::ServiceAddress::new_aci(uuid), data_message, timestamp).await?;
}
crate::structs::Recipient::Group(master_key) => {
let data_message = presage::libsignal_service::content::ContentBody::DataMessage(presage::libsignal_service::content::DataMessage {
Expand Down

0 comments on commit 1d8bbd4

Please sign in to comment.