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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user