mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Clear draft that failed to be saved.
This commit is contained in:
parent
ac3834bfdb
commit
7866013ab6
1 changed files with 1 additions and 0 deletions
|
@ -2134,6 +2134,7 @@ void ApiWrap::saveDraftsToCloud() {
|
|||
if (const auto cloudDraft = history->cloudDraft(topicRootId)) {
|
||||
if (cloudDraft->saveRequestId == requestId) {
|
||||
history->clearCloudDraft(topicRootId);
|
||||
history->applyCloudDraft(topicRootId);
|
||||
}
|
||||
}
|
||||
const auto i = _draftsSaveRequestIds.find(weak);
|
||||
|
|
Loading…
Add table
Reference in a new issue