mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix a couple of typos
Signed-off-by: Nicholas Guriev <guriev-ns@ya.ru> (github: mymedia2)
This commit is contained in:
committed by
John Preston
parent
94e43f8f8a
commit
38a53687a0
@@ -195,7 +195,7 @@ void Instance::refreshServerConfig() {
|
||||
auto error = QJsonParseError { 0, QJsonParseError::NoError };
|
||||
auto document = QJsonDocument::fromJson(QByteArray::fromRawData(reinterpret_cast<const char*>(bytes.data()), bytes.size()), &error);
|
||||
if (error.error != QJsonParseError::NoError) {
|
||||
LOG(("API Error: Faild to parse call config JSON, error: %1").arg(error.errorString()));
|
||||
LOG(("API Error: Failed to parse call config JSON, error: %1").arg(error.errorString()));
|
||||
return;
|
||||
} else if (!document.isObject()) {
|
||||
LOG(("API Error: Not an object received in call config JSON."));
|
||||
|
Reference in New Issue
Block a user