2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Validate dcOption secrets.

This commit is contained in:
John Preston
2019-07-11 12:20:37 +02:00
parent 2fad4e9956
commit cabe06256b
4 changed files with 15 additions and 1 deletions

View File

@@ -361,7 +361,7 @@ void ConnectionPrivate::appendTestConnection(
_connectionOptions->proxy),
priority
});
auto weak = _testConnections.back().data.get();
const auto weak = _testConnections.back().data.get();
connect(weak, &AbstractConnection::error, [=](int errorCode) {
onError(weak, errorCode);
});