You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-09 10:22:46 +03:00
Add getEmailSid
Other places sometimes need to re-use the email sid to send proof of ownership of a email address to somewhere else.
This commit is contained in:
@@ -215,6 +215,14 @@ InteractiveAuth.prototype = {
|
|||||||
this._doRequest(auth, ignoreFailure);
|
this._doRequest(auth, ignoreFailure);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the sid for the email validation session
|
||||||
|
* Specific to m.login.email.identity
|
||||||
|
*/
|
||||||
|
getEmailSid: function() {
|
||||||
|
return this._emailSid;
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the sid for the email validation session
|
* Sets the sid for the email validation session
|
||||||
* This must be set in order to successfully poll for completion
|
* This must be set in order to successfully poll for completion
|
||||||
|
Reference in New Issue
Block a user