Allow all characters when checking server input

So IDNs are not rejected. Invalid server names will be caught later.
This commit is contained in:
Callum Brown 2021-08-05 16:41:40 +01:00
parent bb6a57644c
commit bd31726f2f

View file

@ -94,7 +94,7 @@ RegisterPage::RegisterPage(QWidget *parent)
server_input_ = new TextField();
server_input_->setLabel(tr("Homeserver"));
server_input_->setRegexp(QRegularExpression("[a-z0-9.-]+"));
server_input_->setRegexp(QRegularExpression(".+"));
server_input_->setToolTip(
tr("A server that allows registration. Since matrix is decentralized, you need to first "
"find a server you can register on or host your own."));