diff --git a/ts/textsecure/WebAPI.ts b/ts/textsecure/WebAPI.ts index 9673e11c3..dd200fb2c 100644 --- a/ts/textsecure/WebAPI.ts +++ b/ts/textsecure/WebAPI.ts @@ -2548,7 +2548,7 @@ export function initialize({ const keys = (await _ajax({ call: 'keys', httpType: 'GET', - urlParameters: `/${serviceId}/${deviceId || '*'}?pq=true`, + urlParameters: `/${serviceId}/${deviceId || '*'}`, responseType: 'json', validateResponse: { identityKey: 'string', devices: 'object' }, })) as ServerKeyResponseType; @@ -2563,7 +2563,7 @@ export function initialize({ const keys = (await _ajax({ call: 'keys', httpType: 'GET', - urlParameters: `/${serviceId}/${deviceId || '*'}?pq=true`, + urlParameters: `/${serviceId}/${deviceId || '*'}`, responseType: 'json', validateResponse: { identityKey: 'string', devices: 'object' }, unauthenticated: true,