diff --git a/packages/flat-stores/src/classroom-store/index.ts b/packages/flat-stores/src/classroom-store/index.ts index 90c21c59d98..b62b4d3da95 100644 --- a/packages/flat-stores/src/classroom-store/index.ts +++ b/packages/flat-stores/src/classroom-store/index.ts @@ -1012,6 +1012,7 @@ export class ClassroomStore { } if (!onStage && (!this.isCreator || userUUID !== this.userUUID)) { this.updateDeviceState(userUUID, false, false); + this.deleteAvatarWindow(userUUID); } if (this.classroomStorage?.state.raiseHandUsers.includes(userUUID)) { const raiseHandUsers = this.classroomStorage.state.raiseHandUsers;