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

Handle device_id returned from the fallback login page #520

Merged
merged 4 commits into from
Feb 28, 2019
Merged

Conversation

manuroe
Copy link
Contributor

@manuroe manuroe commented Feb 27, 2019

// And inform the client
onSuccess(credentials);
}
MXCredentials *credentials = [MXCredentials modelFromJSON:parameters[@"response"]];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If parameters[@"response"] is nil an empty MXCredentials will be created. We could maybe add a failure closure to this method - (void)openFallbackPage:(NSString*)fallbackPage success:(void (^)(MXCredentials *credentials))success;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a PR for a fix for device_id not a PR for a behavior change.

@manuroe manuroe merged commit cc440b9 into develop Feb 28, 2019
@manuroe manuroe deleted the riot_2301 branch February 28, 2019 08:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants