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 in a public api getStoredDevice allowing clients to get a specific device #439

Merged
merged 1 commit into from
May 22, 2017

Conversation

kscz
Copy link
Contributor

@kscz kscz commented May 20, 2017

Expose the crypto.getStoredDevice(userId, deviceId) api publically

src/client.js Outdated
* @param {string} userId the user to list keys for.
* @param {string} deviceId unique identifier for the device
*
* @return {module:crypto-deviceinfo} device or nothing
Copy link
Member

Choose a reason for hiding this comment

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

since its nullable it should be
@return {?module:crypto-deviceinfo} device or null

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops, okay. Will update comment!

@kscz kscz force-pushed the add_getstoreddeviceforuser branch from e0471f6 to 6443ad1 Compare May 21, 2017 07:22
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

lgtm

@richvdh richvdh merged commit 43989be into matrix-org:develop May 22, 2017
@kscz kscz deleted the add_getstoreddeviceforuser branch May 22, 2017 08:40
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.

3 participants