From c9934c142d81d612c77526359e7c01c46992d329 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 13 Mar 2021 16:07:59 +0400 Subject: [PATCH] Fix drafts time tracking. --- Telegram/SourceFiles/apiwrap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/apiwrap.cpp b/Telegram/SourceFiles/apiwrap.cpp index 1122531bc..267b74d0c 100644 --- a/Telegram/SourceFiles/apiwrap.cpp +++ b/Telegram/SourceFiles/apiwrap.cpp @@ -115,7 +115,7 @@ using DocumentFileLocationId = Data::DocumentFileLocationId; using UpdatedFileReferences = Data::UpdatedFileReferences; [[nodiscard]] TimeId UnixtimeFromMsgId(mtpMsgId msgId) { - return TimeId(msgId << 32); + return TimeId(msgId >> 32); } } // namespace