Add confirmation for convert to group

This commit is contained in:
Cohee 2023-12-17 21:14:16 +02:00
parent a91f0f7ee5
commit 960c91c147
1 changed files with 6 additions and 0 deletions

View File

@ -237,6 +237,12 @@ async function convertSoloToGroupChat() {
return;
}
const confirm = await callPopup('Are you sure you want to convert this chat to a group chat?', 'confirm');
if (!confirm) {
return;
}
const character = characters[this_chid];
// Populate group required fields