mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix build with Xcode.
This commit is contained in:
parent
8b42161898
commit
20c63b98c7
1 changed files with 0 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue