mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-24 14:32:37 +01:00
fix: Disable registration for matrix.org
This commit is contained in:
parent
143c237d66
commit
fdcb34e3a3
@ -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…
Reference in New Issue
Block a user