Reply: Fix reply in another chat (#5094)

This commit is contained in:
Alexander Zinchuk 2024-10-26 13:01:44 +04:00
parent 6049090857
commit c967e86551

View File

@ -660,6 +660,7 @@ async function saveDraft<T extends GlobalState>({
isLocal: true, isLocal: true,
} : undefined; } : undefined;
global = getGlobal();
global = replaceThreadParam(global, chatId, threadId, 'draft', newDraft); global = replaceThreadParam(global, chatId, threadId, 'draft', newDraft);
if (!noLocalTimeUpdate) { if (!noLocalTimeUpdate) {
global = updateChat(global, chatId, { draftDate: newDraft?.date }); global = updateChat(global, chatId, { draftDate: newDraft?.date });