diff --git a/src/push_service/keys.rs b/src/push_service/keys.rs index 79404bfd2..50894d1f2 100644 --- a/src/push_service/keys.rs +++ b/src/push_service/keys.rs @@ -107,7 +107,7 @@ impl PushService { Ok(pre_keys) } - async fn get_sender_certificate( + pub async fn get_sender_certificate( &mut self, ) -> Result { let cert: SenderCertificateJson = self @@ -121,7 +121,7 @@ impl PushService { Ok(SenderCertificate::deserialize(&cert.certificate)?) } - async fn get_uuid_only_sender_certificate( + pub async fn get_uuid_only_sender_certificate( &mut self, ) -> Result { let cert: SenderCertificateJson = self diff --git a/src/push_service/mod.rs b/src/push_service/mod.rs index 45bc72568..efe637cd6 100644 --- a/src/push_service/mod.rs +++ b/src/push_service/mod.rs @@ -54,7 +54,6 @@ pub use cdn::*; pub use error::*; pub use keys::*; pub use linking::*; -pub use profile::*; pub use registration::*; #[derive(Debug, Serialize, Deserialize)] diff --git a/src/push_service/registration.rs b/src/push_service/registration.rs index 035a83060..5d7e8dd58 100644 --- a/src/push_service/registration.rs +++ b/src/push_service/registration.rs @@ -220,10 +220,11 @@ impl PushService { /// Request a verification code. /// /// Signal requires a client type, and they use these three strings internally: - /// - "android-2021-03" - /// - "android" - /// - "ios" - /// "android-2021-03" allegedly implies FCM support, whereas the other strings don't. In + /// - "android-2021-03" + /// - "android" + /// - "ios" + /// + /// "android-2021-03" allegedly implies FCM support, whereas the other strings don't. In /// principle, they will consider any string as "unknown", so other strings may work too. pub async fn request_verification_code( &mut self,