From f5e84220ebaf0ee34d394db300a922c070dd9926 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sun, 31 May 2020 09:39:15 +0300 Subject: [PATCH] Fixed crash in context menu for uploading scheduled messages. --- Telegram/SourceFiles/history/view/history_view_context_menu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/history/view/history_view_context_menu.cpp b/Telegram/SourceFiles/history/view/history_view_context_menu.cpp index 1f855f440f..a443315f04 100644 --- a/Telegram/SourceFiles/history/view/history_view_context_menu.cpp +++ b/Telegram/SourceFiles/history/view/history_view_context_menu.cpp @@ -553,6 +553,7 @@ bool AddSelectMessageAction( if (request.overSelection && !request.selectedItems.empty()) { return false; } else if (!item + || item->isSending() || !IsServerMsgId(ItemIdAcrossData(item)) || item->serviceMsg()) { return false;