-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Updated statuses on bot runtime start #4889
Conversation
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
…otFramework-Composer into feature/4855-connect-kb
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
…rosoft/BotFramework-Composer into feature/4855-connect-kb
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - I have one question about it, but I don't want to block getting this PR out on that. If there's an issue there, it can be addressed in a future PR.
|
||
case BotStatus.connected: { | ||
return BotStatusesCopy.connected; | ||
} | ||
case BotStatus.publishing: | ||
return BotStatusesCopy.publishing; | ||
|
||
case BotStatus.queued: | ||
return BotStatusesCopy.queued; | ||
|
||
default: | ||
case BotStatus.unConnected: | ||
return BotStatusesCopy.unConnected; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't BotStatusesCopy[currentBotStatus] ?? BotStatusesCopy.unConnected
handle all of these cases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so. I'll do the change.
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Description
Fixes #4880