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

V4.10.0#2180

Merged
tonyanziano merged 8 commits intomasterfrom
v4.10.0
Aug 31, 2020
Merged

V4.10.0#2180
tonyanziano merged 8 commits intomasterfrom
v4.10.0

Conversation

@srinaath
Copy link
Copy Markdown
Contributor

Merging 4.10 into master

Srinaath Ravichandran and others added 6 commits August 18, 2020 14:33
Signed-off-by: Srinaath Ravichandran <[email protected]>
* Handle change to middleware
Signed-off-by: Srinaath Ravichandran <[email protected]>
Signed-off-by: Srinaath Ravichandran <[email protected]>

Locks updated to pre webchat change

Signed-off-by: Srinaath Ravichandran <[email protected]>

Post wechat check

Signed-off-by: Srinaath Ravichandran <[email protected]>

Prevent hoisting bf-chatdown

Signed-off-by: Srinaath Ravichandran <[email protected]>
Signed-off-by: Srinaath Ravichandran <[email protected]>
* 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 <[email protected]>
@coveralls
Copy link
Copy Markdown

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 <[email protected]>
if (this.queuedMessages[conversationId]) {
while (this.queuedMessages[conversationId].length > 0) {
const activity: Activity = this.queuedMessages[conversationId].shift();
const payload = { activities: [activity] };
Copy link
Copy Markdown
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 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.

4 participants