You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-05 15:22:09 +03:00
Store retrieved sid in the signupInstance of EmailIdentityStage
When registeration is complete, the RTS needs the sid, which was previously only sent to the HS. This update will also store it in the signupInstance so that it can be sent to the RTS.
This commit is contained in:
@@ -149,6 +149,7 @@ class EmailIdentityStage extends Stage {
|
|||||||
nextLink
|
nextLink
|
||||||
).then(function(response) {
|
).then(function(response) {
|
||||||
self.sid = response.sid;
|
self.sid = response.sid;
|
||||||
|
self.signupInstance.setIdSid(self.sid);
|
||||||
return self._completeVerify();
|
return self._completeVerify();
|
||||||
}).then(function(request) {
|
}).then(function(request) {
|
||||||
request.poll_for_success = true;
|
request.poll_for_success = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user