Fix dropping invertCaption on reschedule.

This commit is contained in:
John Preston 2024-06-02 10:04:41 +04:00
parent f61f649a7e
commit 47e06cf385
1 changed files with 1 additions and 0 deletions

View File

@ -205,6 +205,7 @@ void RescheduleMessage(
not_null<HistoryItem*> item,
SendOptions options) {
const auto empty = [] {};
options.invertCaption = item->invertMedia();
EditMessage(item, options, empty, empty);
}