Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/Room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ export const performHandover = async (
await createMessage(rid, read, modify, { text: DefaultMessage.DEFAULT_DialogflowHandoverMessage }, app);
}

await updateRoomCustomFields(rid, { isHandedOverFromDialogFlow: true }, read, modify);

let closeChatDesc;
const result = await modify
.getUpdater()
Expand All @@ -223,7 +225,6 @@ export const performHandover = async (
}

await removeBotTypingIndicator();
await updateRoomCustomFields(rid, { isHandedOverFromDialogFlow: true }, read, modify);

// Viasat : Start maintaining session after handover
const sessionMaintenanceInterval: string = await getLivechatAgentConfig(read, rid, AppSetting.DialogflowSessionMaintenanceInterval);
Expand Down