fix: Disable matrix registration again

This commit is contained in:
Krille Fear 2021-10-16 10:46:52 +02:00
parent 821fc7b4fb
commit 12cdee068d

View File

@ -142,7 +142,10 @@ class HomeserverPickerView extends StatelessWidget {
labelText: L10n.of(context).login, labelText: L10n.of(context).login,
), ),
), ),
if (controller.registrationSupported) if (controller.registrationSupported &&
// Registration is broken on matrix.org
Matrix.of(context).client.homeserver.host !=
'matrix-client.matrix.org')
Center( Center(
child: _LoginButton( child: _LoginButton(
onPressed: controller.signUpAction, onPressed: controller.signUpAction,