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 { favsToHotswap, isMobile } from "./RossAscends-mods.js";
|
||||||
import {
|
import {
|
||||||
groups,
|
groups,
|
||||||
|
resetSelectedGroup,
|
||||||
selected_group,
|
selected_group,
|
||||||
} from "./group-chats.js";
|
} from "./group-chats.js";
|
||||||
|
|
||||||
@@ -994,6 +995,7 @@ function doNewChat() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function doRandomChat() {
|
function doRandomChat() {
|
||||||
|
resetSelectedGroup();
|
||||||
setCharacterId(Math.floor(Math.random() * characters.length));
|
setCharacterId(Math.floor(Math.random() * characters.length));
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
replaceCurrentChat();
|
replaceCurrentChat();
|
||||||
|
Reference in New Issue
Block a user