mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
chore: make layer updates exportable
This commit is contained in:
committed by
GitHub
parent
2588646b0f
commit
b96bed7240
@ -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);
|
||||||
|
Reference in New Issue
Block a user