Composer: Fix disappearing reply (#2106)
This commit is contained in:
parent
6f360fd6f8
commit
08b8dbe667
@ -1245,10 +1245,13 @@ async function loadChats(
|
|||||||
|
|
||||||
global = updateChatListSecondaryInfo(global, listType, result);
|
global = updateChatListSecondaryInfo(global, listType, result);
|
||||||
|
|
||||||
result.chatIds.forEach((chatId) => {
|
Object.keys(result.draftsById).forEach((chatId) => {
|
||||||
global = replaceThreadParam(
|
global = replaceThreadParam(
|
||||||
global, chatId, MAIN_THREAD_ID, 'draft', result.draftsById[chatId],
|
global, chatId, MAIN_THREAD_ID, 'draft', result.draftsById[chatId],
|
||||||
);
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
Object.keys(result.replyingToById).forEach((chatId) => {
|
||||||
global = replaceThreadParam(
|
global = replaceThreadParam(
|
||||||
global, chatId, MAIN_THREAD_ID, 'replyingToId', result.replyingToById[chatId],
|
global, chatId, MAIN_THREAD_ID, 'replyingToId', result.replyingToById[chatId],
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user