Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Handle change to middleware - #2177

Merged
Srinaath Ravichandran (srinaath) merged 3 commits into
v4.10.0from
bugfix/handle-middleware-webchat
Aug 18, 2020
Merged

Srinaath Ravichandran (srinaath) merged 3 commits into
v4.10.0from
bugfix/handle-middleware-webchat

Conversation

@srinaath

@srinaath Srinaath Ravichandran (srinaath) commented Aug 18, 2020 •

Copy link
Copy Markdown
Contributor

The webchat middleware 4.10.0 returns false for conversationUpdate, invoke events. This PR makes sure it returns true before we render the results

microsoft/BotFramework-WebChat@9e5f9e0#diff-5cc299788131ecb932a8b17abd1ba05bL6

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
return null;

default:
debugger;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might want to remove this 😅

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@srinaath
Srinaath Ravichandran (srinaath) deleted the bugfix/handle-middleware-webchat branch August 18, 2020 22:55
Tony Anziano (tonyanziano) pushed a commit that referenced this pull request Aug 31, 2020
* Webchat Upgrade and Version number change

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

* Handle change to middleware (#2177)

* Handle change to middleware

* Updated babel preset env

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

* Reverted change to babel

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Locks updated to pre webchat change

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Post wechat check

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Prevent hoisting bf-chatdown

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

* Updated babel preset env

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

* fix: Webchat socket instantiation delay (#2179)

* Updated websocket server code to backup messages if it is not connected
* Refactored more occurances of socket send
* Renaming variables
* Added unit test to make sure backedup messages are cleared before connection starts
* Lint fix

* Updated release date

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

* All tests working

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Co-authored-by: Srinaath Ravichandran <srravich@microsoft.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants