Fix connecting_since_ initialization.

GitOrigin-RevId: 0623c909eb05c6144b9443f1f287ddd8eafd874c
This commit is contained in:
levlam 2020-06-18 02:42:01 +03:00
parent fae344a65d
commit 448e8e0186

View File

@ -544,6 +544,7 @@ ActorOwn<> get_full_config(DcOption option, Promise<FullConfig> promise, ActorSh
class ConfigRecoverer : public Actor {
public:
explicit ConfigRecoverer(ActorShared<> parent) : parent_(std::move(parent)) {
connecting_since_ = Time::now();
}
void on_dc_options_update(DcOptions dc_options) {