mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-30 04:05:40 +00:00
Drop the meeting minutes cache when the AI disconnects. (#8144)
Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
parent
f3b6410a59
commit
d33f7ba28f
@ -48,7 +48,7 @@ export class LoveController {
|
||||
private participantsInfo: ParticipantInfo[] = []
|
||||
private rooms: Room[] = []
|
||||
private readonly socialIdByPerson = new Map<Ref<Person>, PersonId>()
|
||||
private readonly meetingMinutes: MeetingMinutes[] = []
|
||||
private meetingMinutes: MeetingMinutes[] = []
|
||||
|
||||
constructor (
|
||||
private readonly workspace: WorkspaceUuid,
|
||||
@ -169,6 +169,7 @@ export class LoveController {
|
||||
await stopTranscription(this.token, getTokenRoomName(this.workspace, room.name, room._id), room.name)
|
||||
}
|
||||
|
||||
this.meetingMinutes = this.meetingMinutes.filter((m) => m.attachedTo !== roomId)
|
||||
this.connectedRooms.delete(roomId)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user