chore: make layer updates exportable

This commit is contained in:
Azariel Del Carmen
2025-03-25 20:09:48 -05:00
committed by GitHub
parent 2588646b0f
commit b96bed7240

View File

@ -274,7 +274,7 @@ async function getLastMessageSprite(avatar) {
return null;
}
async function visualNovelUpdateLayers(container) {
export async function visualNovelUpdateLayers(container) {
const context = getContext();
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);