Clear draft that failed to be saved.
This commit is contained in:
parent
ac3834bfdb
commit
7866013ab6
|
@ -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…
Reference in New Issue