mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Comment-out bookmark validation
This commit is contained in:
@ -1607,7 +1607,8 @@ function addOneMessage(mes, { type = "normal", insertAfter = null, scroll = true
|
||||
const bias = messageFormatting(mes.extra?.bias ?? "");
|
||||
let bookmarkLink = mes?.extra?.bookmark_link ?? '';
|
||||
// Verify bookmarked chat still exists
|
||||
if (bookmarkLink !== '' ) {
|
||||
// Cohee: Commented out for now. I'm worried of performance issues.
|
||||
/*if (bookmarkLink !== '') {
|
||||
let chat_names = selected_group
|
||||
? getGroupChatNames(selected_group)
|
||||
: Object.values(getPastCharacterChats()).map(({ file_name }) => file_name);
|
||||
@ -1615,7 +1616,7 @@ function addOneMessage(mes, { type = "normal", insertAfter = null, scroll = true
|
||||
if (!chat_names.includes(bookmarkLink)) {
|
||||
bookmarkLink = ''
|
||||
}
|
||||
}
|
||||
}*/
|
||||
let params = {
|
||||
mesId: count_view_mes,
|
||||
characterName: characterName,
|
||||
|
Reference in New Issue
Block a user