mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Improve editing messages with webpage previews.
This commit is contained in:
@@ -2158,7 +2158,9 @@ void ApiWrap::saveDraftsToCloud() {
|
||||
history->peer->input,
|
||||
MTP_string(textWithTags.text),
|
||||
entities,
|
||||
Data::WebPageForMTP(cloudDraft->webpage)
|
||||
Data::WebPageForMTP(
|
||||
cloudDraft->webpage,
|
||||
textWithTags.text.isEmpty())
|
||||
)).done([=](const MTPBool &result, const MTP::Response &response) {
|
||||
const auto requestId = response.requestId;
|
||||
history->finishSavingCloudDraft(
|
||||
|
Reference in New Issue
Block a user