Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

handoff skilltemplate #2257

Merged
merged 1 commit into from
Aug 30, 2019
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected override async Task RouteAsync(DialogContext dc, CancellationToken can
protected override async Task CompleteAsync(DialogContext dc, DialogTurnResult result = null, CancellationToken cancellationToken = default(CancellationToken))
{
var response = dc.Context.Activity.CreateReply();
response.Type = ActivityTypes.EndOfConversation;
response.Type = ActivityTypes.Handoff;
await dc.Context.SendActivityAsync(response);
await dc.EndDialogAsync(result);
}
Expand All @@ -133,7 +133,7 @@ protected override async Task OnEventAsync(DialogContext dc, CancellationToken c
if (result.Status != DialogTurnStatus.Waiting)
{
var response = dc.Context.Activity.CreateReply();
response.Type = ActivityTypes.EndOfConversation;
response.Type = ActivityTypes.Handoff;

await dc.Context.SendActivityAsync(response);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected override async Task RouteAsync(DialogContext dc, CancellationToken can
protected override async Task CompleteAsync(DialogContext dc, DialogTurnResult result = null, CancellationToken cancellationToken = default(CancellationToken))
{
var response = dc.Context.Activity.CreateReply();
response.Type = ActivityTypes.EndOfConversation;
response.Type = ActivityTypes.Handoff;
await dc.Context.SendActivityAsync(response);
await dc.EndDialogAsync(result);
}
Expand All @@ -133,7 +133,7 @@ protected override async Task OnEventAsync(DialogContext dc, CancellationToken c
if (result.Status != DialogTurnStatus.Waiting)
{
var response = dc.Context.Activity.CreateReply();
response.Type = ActivityTypes.EndOfConversation;
response.Type = ActivityTypes.Handoff;

await dc.Context.SendActivityAsync(response);
}
Expand Down