Fix scheduled messages display (#4481)

This commit is contained in:
Alexander Zinchuk 2024-04-19 13:38:28 +04:00
parent 6d9406e109
commit 0bda37c725

View File

@ -590,10 +590,13 @@ export function updateScheduledMessages<T extends GlobalState>(
...global.scheduledMessages.byChatId, ...global.scheduledMessages.byChatId,
[chatId]: { [chatId]: {
...current, ...current,
byId: {
...current.byId,
...newById, ...newById,
}, },
}, },
}, },
},
}; };
} }