Skip to content
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

V4.10.0 #2180

Merged
merged 8 commits into from
Aug 31, 2020
Merged

V4.10.0 #2180

merged 8 commits into from
Aug 31, 2020

Conversation

srinaath
Copy link
Contributor

Merging 4.10 into master

Srinaath Ravichandran and others added 6 commits August 18, 2020 14:33
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
* Handle change to middleware
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
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>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
* 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
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
@coveralls
Copy link

coveralls commented Aug 21, 2020

Coverage Status

Coverage decreased (-0.008%) to 67.858% when pulling d989a43 on v4.10.0 into 9042e38 on master.

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
if (this.queuedMessages[conversationId]) {
while (this.queuedMessages[conversationId].length > 0) {
const activity: Activity = this.queuedMessages[conversationId].shift();
const payload = { activities: [activity] };
Copy link
Member

Choose a reason for hiding this comment

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

do we need to send these individually?

const payload = activities { [...this.queuedMessages[conversationId]] }

@tonyanziano tonyanziano merged commit 7829dbd into master Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants