1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-27 18:54:39 +02:00

Update room.core.vue

This commit is contained in:
syuilo
2026-05-23 18:14:21 +09:00
parent 8ac3c77ae1
commit 32bdb77e97

View File

@@ -229,6 +229,16 @@ const joyStickStartPos = ref<{ x: number; y: number } | null>(null);
let latestSavedRoomState = deepClone(props.room.def) as unknown as RoomState;
let initialRoomState = latestSavedRoomState;
// 後方互換性のため
for (const obj of latestSavedRoomState.installedObjects) {
if (obj.options.customPicture != null) {
obj.options.image = {
type: null,
};
delete obj.options.customPicture;
}
}
let latestSavedAttachments = {
files: deepClone(props.room.attachedFiles),
} as RoomAttachments;