mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix random chat slash breaking in groups
This commit is contained in:
@@ -21,6 +21,7 @@ import {
|
||||
import { favsToHotswap, isMobile } from "./RossAscends-mods.js";
|
||||
import {
|
||||
groups,
|
||||
resetSelectedGroup,
|
||||
selected_group,
|
||||
} from "./group-chats.js";
|
||||
|
||||
@@ -994,6 +995,7 @@ function doNewChat() {
|
||||
}
|
||||
|
||||
function doRandomChat() {
|
||||
resetSelectedGroup();
|
||||
setCharacterId(Math.floor(Math.random() * characters.length));
|
||||
setTimeout(() => {
|
||||
replaceCurrentChat();
|
||||
|
Reference in New Issue
Block a user