Update group chat metadata format (#4805)

* Migrate group metadata to group chat files

* Skip migration if chat already has metadata

* Fix active group not being set on group conversion

* Improve types in createGroup

* Fix padding in hotswap group avatars

* Fix centering of empty hotswap avatar

* Added automatic backups of migrated data

* Fix 'OVERWRITE' for GC

* Fix metadata parsing order in migration

* Remove color accents from regular migration logs

* Always set gen_id in converted message

* Clone messages before conversion

* Reduce size of add/remove buttons

* Fix group chat file size calculation
This commit is contained in:
Cohee
2025-11-25 23:48:43 +02:00
committed by GitHub
parent 051b275795
commit 929d377da8
17 changed files with 566 additions and 192 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ function initSettings() {
/**
* Retrieves the gallery folder for a given character.
* @param {import('../../char-data.js').v1CharData} char Character data
* @param {Character} char Character data
* @returns {string} The gallery folder for the character
*/
function getGalleryFolder(char) {