Skip to content

Commit

Permalink
remove hard-coded string of 'all' entity (microsoft#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
feich-ms authored Mar 4, 2019
1 parent bcd5915 commit 4beab37
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,18 +391,6 @@ protected async Task DigestToDoLuisResult(DialogContext dc)
{
state.TaskContentML = entities.TaskContentML[0];
}

if (dc.Context.Activity.Text != null)
{
var words = dc.Context.Activity.Text.Split(' ');
foreach (var word in words)
{
if (word.Equals("all", StringComparison.OrdinalIgnoreCase))
{
state.MarkOrDeleteAllTasksFlag = true;
}
}
}
}
catch
{
Expand Down

0 comments on commit 4beab37

Please sign in to comment.