Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a method to the js sdk to look up 3pids on the ID server. #113

Merged
merged 2 commits into from
Mar 18, 2016

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Mar 18, 2016

This also moves the manual json decoding for the ID server into the common ID server block, since we'll have to do it for all ID server requests, rather than doing it in requestEmailToken.

* @param {string} medium The medium of the threepid, eg. 'email'
* @param {string} address The textual address of the threepid
* @param {module:client.callback} callback Optional.
* @return {module:client.Promise} Resolves: TODO
Copy link
Member

Choose a reason for hiding this comment

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

aside: y'know, just because we've been rubbish at documenting these so far doesn't mean that we can't start...

@richvdh
Copy link
Member

richvdh commented Mar 18, 2016

lgtm

@richvdh richvdh assigned dbkr and unassigned richvdh Mar 18, 2016
dbkr added a commit that referenced this pull request Mar 18, 2016
Add a method to the js sdk to look up 3pids on the ID server.
@dbkr dbkr merged commit dd86fad into develop Mar 18, 2016
@t3chguy t3chguy deleted the dbkr/threepid_lookup branch May 10, 2022 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants