Draft: Fix reply not saving on sync (#2829)
This commit is contained in:
parent
b44a1396db
commit
41c39eab3e
@ -26,7 +26,7 @@ import {
|
|||||||
selectCurrentMessageList,
|
selectCurrentMessageList,
|
||||||
selectDraft,
|
selectDraft,
|
||||||
selectEditingDraft,
|
selectEditingDraft,
|
||||||
selectEditingId,
|
selectEditingId, selectReplyingToId,
|
||||||
selectTabState,
|
selectTabState,
|
||||||
selectThreadInfo,
|
selectThreadInfo,
|
||||||
} from '../../selectors';
|
} from '../../selectors';
|
||||||
@ -106,6 +106,7 @@ async function loadAndReplaceMessages<T extends GlobalState>(global: T, actions:
|
|||||||
draft: selectDraft(global, chatId, Number(threadId)),
|
draft: selectDraft(global, chatId, Number(threadId)),
|
||||||
editingId: selectEditingId(global, chatId, Number(threadId)),
|
editingId: selectEditingId(global, chatId, Number(threadId)),
|
||||||
editingDraft: selectEditingDraft(global, chatId, Number(threadId)),
|
editingDraft: selectEditingDraft(global, chatId, Number(threadId)),
|
||||||
|
replyingToId: selectReplyingToId(global, chatId, Number(threadId)),
|
||||||
};
|
};
|
||||||
|
|
||||||
return acc2;
|
return acc2;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user