From c072491aa3e2b604b45b9f2b764552b7d382898c Mon Sep 17 00:00:00 2001 From: Schmiddiii Date: Mon, 18 Mar 2024 12:41:56 +0100 Subject: [PATCH] Fix Groups (#297) Fixes #296. --- libsignal-service/src/groups_v2/manager.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsignal-service/src/groups_v2/manager.rs b/libsignal-service/src/groups_v2/manager.rs index 10ab2ead8..522a6448a 100644 --- a/libsignal-service/src/groups_v2/manager.rs +++ b/libsignal-service/src/groups_v2/manager.rs @@ -161,7 +161,7 @@ impl GroupsManager { auth_credential_response } else { let path = - format!("/v1/certificate/auth/group?redemptionStartSeconds={}&redemptionEndSeconds={}", today, today_plus_7_days); + format!("/v1/certificate/auth/group?redemptionStartSeconds={}&redemptionEndSeconds={}&pniAsServiceId=true", today, today_plus_7_days); let credentials_response: CredentialResponse = self .push_service @@ -198,7 +198,7 @@ impl GroupsManager { ) -> Result { let auth_credential = self .server_public_params - .receive_auth_credential_with_pni_as_aci( + .receive_auth_credential_with_pni_as_service_id( self.service_ids.aci(), self.service_ids.pni(), today,