From fb36359a6decd9dbf04fa3e4e82fe851f3b93547 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 31 Dec 2019 17:26:05 +0300 Subject: [PATCH] Disable one failing assertion for now. --- Telegram/SourceFiles/mtproto/session_private.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/mtproto/session_private.cpp b/Telegram/SourceFiles/mtproto/session_private.cpp index 18adb6f62..f71439f90 100644 --- a/Telegram/SourceFiles/mtproto/session_private.cpp +++ b/Telegram/SourceFiles/mtproto/session_private.cpp @@ -814,7 +814,8 @@ void SessionPrivate::tryToSend() { added = true; } - Assert(!haveSent.contains(msgId)); + // #TODO rewrite so that it will always hold. + //Assert(!haveSent.contains(msgId)); haveSent.emplace(msgId, request); sentIdsWrap.messages.push_back(msgId); needAnyResponse = true;