1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #4617

LittleVulpix (1):
      fix(toxme): Remove HTML tags from ID to un-break toxme integration
This commit is contained in:
sudden6 2017-09-03 19:01:22 +02:00
commit 1f44d603c4
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -512,6 +512,7 @@ void ProfileForm::onRegisterButtonClicked()
bodyUI->toxmeUpdateButton->setText(tr("Update (processing)")); bodyUI->toxmeUpdateButton->setText(tr("Update (processing)"));
QString id = toxId->text(); QString id = toxId->text();
id.remove(QRegularExpression("<[^>]*>"));
QString bio = bodyUI->toxmeBio->text(); QString bio = bodyUI->toxmeBio->text();
QString server = bodyUI->toxmeServersList->currentText(); QString server = bodyUI->toxmeServersList->currentText();
bool privacy = bodyUI->toxmePrivacy->isChecked(); bool privacy = bodyUI->toxmePrivacy->isChecked();