2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Moved HistoryWidget::saveEditMsgDone/Fail to lambdas.

This commit is contained in:
23rd
2020-05-30 10:10:54 +03:00
parent c52da743fd
commit b02b690747
4 changed files with 54 additions and 70 deletions

View File

@@ -14,6 +14,12 @@ namespace Api {
struct SendOptions;
const auto kDefaultEditMessagesErrors = {
u"MESSAGE_ID_INVALID"_q,
u"CHAT_ADMIN_REQUIRED"_q,
u"MESSAGE_EDIT_TIME_EXPIRED"_q,
};
void RescheduleMessage(
not_null<HistoryItem*> item,
SendOptions options);