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;