Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #132 from matrix-org/add_get_key_request_support
Browse files Browse the repository at this point in the history
Add get key request support
  • Loading branch information
ylecollen committed Feb 17, 2017
2 parents 418b56f + 32842c4 commit 1d77f6d
Show file tree
Hide file tree
Showing 22 changed files with 924 additions and 191 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
Expand Down Expand Up @@ -122,7 +121,7 @@ public void onUnexpectedError(Exception e) {
assertTrue(0 == keysUploadResponse.oneTimeKeyCountsForAlgorithm("deded"));

final CountDownLatch lock1 = new CountDownLatch(1);
mBobSession.getCryptoRestClient().downloadKeysForUsers(Arrays.asList(mBobSession.getMyUserId()), new ApiCallback<KeysQueryResponse>() {
mBobSession.getCryptoRestClient().downloadKeysForUsers(Arrays.asList(mBobSession.getMyUserId()), null, new ApiCallback<KeysQueryResponse>() {
@Override
public void onSuccess(KeysQueryResponse keysQueryResponse) {
results.put("keysQueryResponse", keysQueryResponse);
Expand Down
Loading

0 comments on commit 1d77f6d

Please sign in to comment.