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

fix: missing param in doesAccountDataHaveIdentityServer #695

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions patches/auto-accept-tac/matrix-react-sdk+3.78.0.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/node_modules/matrix-react-sdk/src/IdentityAuthClient.tsx b/node_modules/matrix-react-sdk/src/IdentityAuthClient.tsx
index c27640c..d137782 100644
index c27640c..b945877 100644
--- a/node_modules/matrix-react-sdk/src/IdentityAuthClient.tsx
+++ b/node_modules/matrix-react-sdk/src/IdentityAuthClient.tsx
@@ -30,6 +30,7 @@ import {
Expand All @@ -18,9 +18,9 @@ index c27640c..d137782 100644
+ if (TchapUIFeature.autoAcceptTermsAndConditions){
+ if (
+ !this.tempClient &&
+ !doesAccountDataHaveIdentityServer()
+ !doesAccountDataHaveIdentityServer(this.matrixClient)
+ ) {
+ setToDefaultIdentityServer();
+ setToDefaultIdentityServer(this.matrixClient);
+ }
+ return;
+ }
Expand Down
Loading