Renamed to CHARACTER_RENAMED_IN_PAST_CHAT
| @@ -500,7 +500,7 @@ export const event_types = { | ||
| 500 | 500 | CHARACTER_DELETED: 'characterDeleted', |
| 501 | 501 | CHARACTER_DUPLICATED: 'character_duplicated', |
| 502 | 502 | CHARACTER_RENAMED: 'character_renamed', |
| 503 | 503 | RENAMED_PAST_CHATCHARACTER_RENAMED_IN_PAST_CHAT: 'renamed_past_chatcharacter_renamed_in_past_chat', |
| 504 | 504 | /** @deprecated The event is aliased to STREAM_TOKEN_RECEIVED. */ |
| 505 | 505 | SMOOTH_STREAM_TOKEN_RECEIVED: 'stream_token_received', |
| 506 | 506 | STREAM_TOKEN_RECEIVED: 'stream_token_received', |
| @@ -6440,7 +6440,7 @@ async function renamePastChats(oldAvatar, newAvatar, newName) { | ||
| 6440 | 6440 | } |
| 6441 | 6441 | } |
| 6442 | 6442 | |
| 6443 | 6443 | await eventSource.emit(event_types.RENAMED_PAST_CHATCHARACTER_RENAMED_IN_PAST_CHAT, currentChat, oldAvatar, newAvatar); |
| 6444 | 6444 | |
| 6445 | 6445 | const saveChatResponse = await fetch('/api/chats/save', { |
| 6446 | 6446 | method: 'POST', |