Fix build with Xcode.

This commit is contained in:
John Preston 2023-10-21 09:36:22 +04:00
parent 8b42161898
commit 20c63b98c7
1 changed files with 0 additions and 2 deletions

View File

@ -2151,7 +2151,6 @@ void ApiWrap::saveDraftsToCloud() {
TextUtilities::ConvertTextTagsToEntities(textWithTags.tags),
Api::ConvertOption::SkipLocal);
using PageFlag = MTPDinputMediaWebPage::Flag;
history->startSavingCloudDraft(topicRootId);
cloudDraft->saveRequestId = request(MTPmessages_SaveDraft(
MTP_flags(flags),
@ -3736,7 +3735,6 @@ void ApiWrap::sendMessage(MessageToSend &&message) {
if (!message.webPage.removed
&& (message.webPage.manual || sending.empty())
&& !message.webPage.url.isEmpty()) {
using PageFlag = MTPDinputMediaWebPage::Flag;
histories.sendPreparedMessage(
history,
action.replyTo,