use of org.whispersystems.signalservice.api.groupsv2.CredentialResponse in project Signal-Android by WhisperSystems.
the class PushServiceSocket method retrieveGroupsV2Credentials.
public CredentialResponse retrieveGroupsV2Credentials(int today) throws IOException {
int todayPlus7 = today + 7;
String response = makeServiceRequest(String.format(Locale.US, GROUPSV2_CREDENTIAL, today, todayPlus7), "GET", null, NO_HEADERS, Optional.absent());
return JsonUtil.fromJson(response, CredentialResponse.class);
}
Aggregations