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

[#1665] Fix chatplugin reconnection problem #1682

Merged
merged 3 commits into from
Apr 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
border-left: 8px solid transparent;
border-right: 14px solid transparent;
cursor: pointer;
z-index: -1;
}

.hideBubbleCross {
Expand Down
2 changes: 0 additions & 2 deletions frontend/chat-plugin/src/airyRenderProps/AiryBubble/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ const AiryBubble = (props: Props) => {
return (
<img
style={{
padding: '10px 6px 8px 6px',
maxHeight: '60px',
maxWidth: '60px',
objectFit: 'contain',
borderRadius: '50%',
}}
src={config.bubbleIcon}
/>
Expand Down
1 change: 0 additions & 1 deletion frontend/chat-plugin/src/websocket/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ class WebSocket {

reconnect = () => {
if (!this.isConnected) {
this.reconnectTimeout = window.setTimeout(this.reconnect, 5000);
this.start();
}
};
Expand Down