mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update room.core.vue
This commit is contained in:
parent
8ac3c77ae1
commit
32bdb77e97
1 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue