mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-03-30 04:27:01 +02: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 &&
|
if (controller.registrationSupported &&
|
||||||
controller.passwordLoginSupported)
|
controller.passwordLoginSupported)
|
||||||
SizedBox(width: 12),
|
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(
|
Expanded(
|
||||||
child: _LoginButton(
|
child: _LoginButton(
|
||||||
onPressed: controller.signUpAction,
|
onPressed: controller.signUpAction,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user