mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Show bad proxy configuration error.
This commit is contained in:
@@ -2983,6 +2983,11 @@ void ConnectionPrivate::onError(
|
||||
qint32 errorCode) {
|
||||
if (errorCode == -429) {
|
||||
LOG(("Protocol Error: -429 flood code returned!"));
|
||||
} else if (errorCode == -444) {
|
||||
LOG(("Protocol Error: -444 bad dc_id code returned!"));
|
||||
InvokeQueued(_instance, [instance = _instance] {
|
||||
instance->badConfigurationError();
|
||||
});
|
||||
}
|
||||
removeTestConnection(connection);
|
||||
|
||||
|
Reference in New Issue
Block a user