2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

post edit started, sign messages checkbox added in channel edit by creator

This commit is contained in:
John Preston
2016-02-21 15:30:16 +03:00
parent 6d42350691
commit 29fefbc4bb
13 changed files with 508 additions and 38 deletions

View File

@@ -1300,7 +1300,7 @@ void MainWidget::sendMessage(History *hist, const QString &text, MsgId replyTo,
sendFlags |= MTPmessages_SendMessage::flag_reply_to_msg_id;
}
MTPMessageMedia media = MTP_messageMediaEmpty();
if (webPageId == 0xFFFFFFFFFFFFFFFFULL) {
if (webPageId == CancelledWebPageId) {
sendFlags |= MTPmessages_SendMessage::flag_no_webpage;
} else if (webPageId) {
WebPageData *page = App::webPage(webPageId);