mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Display occupied chats using drafts for support.
This commit is contained in:
@@ -2193,7 +2193,11 @@ void ApiWrap::saveDraftsToCloud() {
|
||||
if (cloudDraft && cloudDraft->saveRequestId) {
|
||||
request(base::take(cloudDraft->saveRequestId)).cancel();
|
||||
}
|
||||
cloudDraft = history->createCloudDraft(localDraft);
|
||||
if (!Auth().supportMode()) {
|
||||
cloudDraft = history->createCloudDraft(localDraft);
|
||||
} else if (!cloudDraft) {
|
||||
cloudDraft = history->createCloudDraft(nullptr);
|
||||
}
|
||||
|
||||
auto flags = MTPmessages_SaveDraft::Flags(0);
|
||||
auto &textWithTags = cloudDraft->textWithTags;
|
||||
|
Reference in New Issue
Block a user