mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Fix build with Xcode.
This commit is contained in:
@@ -2151,7 +2151,6 @@ void ApiWrap::saveDraftsToCloud() {
|
|||||||
TextUtilities::ConvertTextTagsToEntities(textWithTags.tags),
|
TextUtilities::ConvertTextTagsToEntities(textWithTags.tags),
|
||||||
Api::ConvertOption::SkipLocal);
|
Api::ConvertOption::SkipLocal);
|
||||||
|
|
||||||
using PageFlag = MTPDinputMediaWebPage::Flag;
|
|
||||||
history->startSavingCloudDraft(topicRootId);
|
history->startSavingCloudDraft(topicRootId);
|
||||||
cloudDraft->saveRequestId = request(MTPmessages_SaveDraft(
|
cloudDraft->saveRequestId = request(MTPmessages_SaveDraft(
|
||||||
MTP_flags(flags),
|
MTP_flags(flags),
|
||||||
@@ -3736,7 +3735,6 @@ void ApiWrap::sendMessage(MessageToSend &&message) {
|
|||||||
if (!message.webPage.removed
|
if (!message.webPage.removed
|
||||||
&& (message.webPage.manual || sending.empty())
|
&& (message.webPage.manual || sending.empty())
|
||||||
&& !message.webPage.url.isEmpty()) {
|
&& !message.webPage.url.isEmpty()) {
|
||||||
using PageFlag = MTPDinputMediaWebPage::Flag;
|
|
||||||
histories.sendPreparedMessage(
|
histories.sendPreparedMessage(
|
||||||
history,
|
history,
|
||||||
action.replyTo,
|
action.replyTo,
|
||||||
|
Reference in New Issue
Block a user