You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-10 07:22:27 +03:00
committed by
Travis Ralston
parent
0bf1f48623
commit
7c79e7e836
@@ -751,7 +751,7 @@ MatrixClient.prototype.downloadKeys = function(userIds, forceDownload) {
|
||||
*
|
||||
* @param {string} userId the user to list keys for.
|
||||
*
|
||||
* @return {Promise<module:crypto-deviceinfo[]>} list of devices
|
||||
* @return {Promise<module:crypto/deviceinfo[]>} list of devices
|
||||
*/
|
||||
MatrixClient.prototype.getStoredDevicesForUser = async function(userId) {
|
||||
if (this._crypto === null) {
|
||||
@@ -766,7 +766,7 @@ MatrixClient.prototype.getStoredDevicesForUser = async function(userId) {
|
||||
* @param {string} userId the user to list keys for.
|
||||
* @param {string} deviceId unique identifier for the device
|
||||
*
|
||||
* @return {Promise<?module:crypto-deviceinfo>} device or null
|
||||
* @return {Promise<?module:crypto/deviceinfo>} device or null
|
||||
*/
|
||||
MatrixClient.prototype.getStoredDevice = async function(userId, deviceId) {
|
||||
if (this._crypto === null) {
|
||||
|
||||
Reference in New Issue
Block a user