mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Drafts always shown in dialogs list when no unread messages in the chat.
Edition of any message to service message "history cleared".
This commit is contained in:
@@ -1096,6 +1096,12 @@ namespace {
|
||||
}
|
||||
}
|
||||
|
||||
void updateEditedMessageToEmpty(PeerId peerId, MsgId msgId) {
|
||||
if (auto existing = App::histItemById(peerToChannel(peerId), msgId)) {
|
||||
existing->applyEditionToEmpty();
|
||||
}
|
||||
}
|
||||
|
||||
void addSavedGif(DocumentData *doc) {
|
||||
SavedGifs &saved(cRefSavedGifs());
|
||||
int32 index = saved.indexOf(doc);
|
||||
|
Reference in New Issue
Block a user