Merge branch 'develop' into feature/cw-3369

This commit is contained in:
Shivam Mishra
2024-06-03 22:51:24 +05:30
committed by GitHub
28 changed files with 789 additions and 108 deletions
@@ -1,6 +1,4 @@
import { createConsumer } from '@rails/actioncable';
import { BUS_EVENTS } from 'shared/constants/busEvents';
import { emitter } from 'shared/helpers/mitt';
const PRESENCE_INTERVAL = 20000;
const RECONNECT_INTERVAL = 1000;
@@ -28,8 +26,6 @@ class BaseActionCableConnector {
BaseActionCableConnector.isDisconnected = true;
this.onDisconnected();
this.initReconnectTimer();
// TODO: Remove this after completing the conversation list refetching
emitter.emit(BUS_EVENTS.WEBSOCKET_DISCONNECT);
},
}
);