2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

telegram.me links supported in-app and in Windows

This commit is contained in:
John Preston
2014-12-03 16:10:32 +03:00
parent 03c8de6195
commit 27de201bda
25 changed files with 3626 additions and 3093 deletions

View File

@@ -260,7 +260,7 @@ bool AddContactBox::onSaveSelfFail(const RPCError &error) {
QString err(error.type());
QString firstName = textOneLine(_firstInput.text()), lastName = textOneLine(_lastInput.text());
if (err == "NAME_NOT_MODIFIED") {
App::self()->setName(firstName, lastName, firstName + ' ' + lastName, textOneLine(App::self()->username));
App::self()->setName(firstName, lastName, QString(), textOneLine(App::self()->username));
emit closed();
return true;
} else if (err == "FIRSTNAME_INVALID") {