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

Commit

Permalink
Fix / regression forget password with without ids
Browse files Browse the repository at this point in the history
  • Loading branch information
BillCarsonFr committed Sep 24, 2019
1 parent a4051f4 commit 9644135
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vector/src/main/java/im/vector/activity/LoginActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,8 @@ public void onSuccess(Boolean info) {

private void doForgetPasswordRequest(HomeServerConnectionConfig hsConfig, String email, @Nullable String identityServerHost) {
ProfileRestClient pRest = new ProfileRestClient(hsConfig);
pRest.forgetPassword(hsConfig.getIdentityServerUri(), email, new ApiCallback<ThreePid>() {
Uri idUri = (identityServerHost != null) ? Uri.parse(identityServerHost) : null;
pRest.forgetPassword(idUri, email, new ApiCallback<ThreePid>() {
@Override
public void onSuccess(ThreePid thirdPid) {
if (mMode == MODE_FORGOT_PASSWORD) {
Expand Down

0 comments on commit 9644135

Please sign in to comment.