Skip to content

Commit

Permalink
Fix Groups (#297)
Browse files Browse the repository at this point in the history
Fixes #296.
  • Loading branch information
Schmiddiii committed Mar 18, 2024
1 parent b0fd817 commit c072491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libsignal-service/src/groups_v2/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ impl<S: PushService, C: CredentialsCache> GroupsManager<S, C> {
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
Expand Down Expand Up @@ -198,7 +198,7 @@ impl<S: PushService, C: CredentialsCache> GroupsManager<S, C> {
) -> Result<HttpAuth, ServiceError> {
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,
Expand Down

0 comments on commit c072491

Please sign in to comment.