Add logging to help diagnose ratelimit issues.

fork-5.53.8
Greyson Parrelli 2021-12-20 12:31:48 -05:00
rodzic eaf72b194f
commit a17fd447a7
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -592,6 +592,8 @@ public class PushServiceSocket {
String path = String.format(PREKEY_DEVICE_PATH, destination.getIdentifier(), deviceId);
Log.d(TAG, "Fetching prekeys for " + destination.getIdentifier() + "." + deviceId + ", i.e. GET " + path);
String responseText = makeServiceRequest(path, "GET", null, NO_HEADERS, unidentifiedAccess);
PreKeyResponse response = JsonUtil.fromJson(responseText, PreKeyResponse.class);
List<PreKeyBundle> bundles = new LinkedList<>();