fix: Disable registration for matrix.org
This commit is contained in:
parent
4cba249432
commit
2d3017e972
1 changed files with 7 additions and 1 deletions
|
|
@ -140,7 +140,13 @@ class HomeserverPickerView extends StatelessWidget {
|
|||
if (controller.registrationSupported &&
|
||||
controller.passwordLoginSupported)
|
||||
SizedBox(width: 12),
|
||||
if (controller.registrationSupported)
|
||||
if (controller.registrationSupported &&
|
||||
// Registration is broken on matrix.org
|
||||
Matrix.of(context)
|
||||
.client
|
||||
.homeserver
|
||||
.host !=
|
||||
'matrix-client.matrix.org')
|
||||
Expanded(
|
||||
child: _LoginButton(
|
||||
onPressed: controller.signUpAction,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue