mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Allow supergroup members to clear history.
This commit is contained in:
@@ -134,9 +134,9 @@ TimeId fromServerTime(const MTPint &serverTime) {
|
||||
return serverTime.v - unixtimeDelta;
|
||||
}
|
||||
|
||||
void toServerTime(const TimeId &clientTime, MTPint &outServerTime) {
|
||||
MTPint toServerTime(const TimeId &clientTime) {
|
||||
QReadLocker locker(&unixtimeLock);
|
||||
outServerTime = MTP_int(clientTime + unixtimeDelta);
|
||||
return MTP_int(clientTime + unixtimeDelta);
|
||||
}
|
||||
|
||||
QDateTime dateFromServerTime(TimeId time) {
|
||||
|
Reference in New Issue
Block a user