Merge pull request #3761 from Bronya-Rand/staging

chore: make layer updates exportable
This commit is contained in:
Wolfsblvt
2025-03-26 03:14:07 +01:00
committed by GitHub

View File

@@ -274,7 +274,7 @@ async function getLastMessageSprite(avatar) {
return null; return null;
} }
async function visualNovelUpdateLayers(container) { export async function visualNovelUpdateLayers(container) {
const context = getContext(); const context = getContext();
const group = context.groups.find(x => x.id == context.groupId); const group = context.groups.find(x => x.id == context.groupId);
const recentMessages = context.chat.map(x => x.original_avatar).filter(x => x).reverse().filter(onlyUnique); const recentMessages = context.chat.map(x => x.original_avatar).filter(x => x).reverse().filter(onlyUnique);