Make function name unique.
GitOrigin-RevId: 2d8e805b36376e2c5f2a5630794ed9797254496c
This commit is contained in:
parent
86e7186bae
commit
187ebc603c
@ -266,7 +266,7 @@ void Global::add_location_access_hash(double latitude, double longitude, int64 a
|
||||
location_access_hashes_[get_location_key(latitude, longitude)] = access_hash;
|
||||
}
|
||||
|
||||
double get_server_time() {
|
||||
double get_global_server_time() {
|
||||
return G()->server_time();
|
||||
}
|
||||
|
||||
|
@ -450,6 +450,6 @@ inline Global *G_impl(const char *file, int line) {
|
||||
return static_cast<Global *>(context);
|
||||
}
|
||||
|
||||
double get_server_time();
|
||||
double get_global_server_time();
|
||||
|
||||
} // namespace td
|
||||
|
@ -36,7 +36,7 @@ void store_time(double time_at, StorerT &storer) {
|
||||
} else {
|
||||
double time_left = max(time_at - Time::now(), 0.0);
|
||||
store(time_left, storer);
|
||||
store(get_server_time(), storer);
|
||||
store(get_global_server_time(), storer);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user