mirror of https://github.com/procxx/kepka.git
fixed crash on logout
This commit is contained in:
parent
e0910bfb3e
commit
3009200b76
|
@ -52,7 +52,7 @@ public:
|
||||||
|
|
||||||
void operator()(mtpRequestId requestId, const mtpPrime *from, const mtpPrime *end) const {
|
void operator()(mtpRequestId requestId, const mtpPrime *from, const mtpPrime *end) const {
|
||||||
_dc->setConnectionInited();
|
_dc->setConnectionInited();
|
||||||
return (*_ondone)(requestId, from, end);
|
if (_ondone) (*_ondone)(requestId, from, end);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue