Renamed to CHARACTER_RENAMED_IN_PAST_CHAT

eab4e8aebc0c870f05eedc8566ed15c65c1e6d9e

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +2 -2Ignore whitespace
public/script.js+2 -2
@@ -500,7 +500,7 @@ export const event_types = {
500500 CHARACTER_DELETED: 'characterDeleted',
501501 CHARACTER_DUPLICATED: 'character_duplicated',
502502 CHARACTER_RENAMED: 'character_renamed',
503503 RENAMED_PAST_CHATCHARACTER_RENAMED_IN_PAST_CHAT: 'renamed_past_chatcharacter_renamed_in_past_chat',
504504 /** @deprecated The event is aliased to STREAM_TOKEN_RECEIVED. */
505505 SMOOTH_STREAM_TOKEN_RECEIVED: 'stream_token_received',
506506 STREAM_TOKEN_RECEIVED: 'stream_token_received',
@@ -6440,7 +6440,7 @@ async function renamePastChats(oldAvatar, newAvatar, newName) {
64406440 }
64416441 }
64426442
64436443 await eventSource.emit(event_types.RENAMED_PAST_CHATCHARACTER_RENAMED_IN_PAST_CHAT, currentChat, oldAvatar, newAvatar);
64446444
64456445 const saveChatResponse = await fetch('/api/chats/save', {
64466446 method: 'POST',