mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Revert "Clear draft that failed to be saved."
This reverts commit 7866013ab6
.
Loosing the current field text in case the server doesn't accept
the draft is worse than showing some sticked draft in the list.
We always can just hide the cloud draft in chats list in case you
can't edit it really if there are reports about them.
This commit is contained in:
@@ -2137,7 +2137,6 @@ 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);
|
||||
|
Reference in New Issue
Block a user