Skip to content

Commit

Permalink
Update ChatDataProvider.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
mishramonalisha76 authored Nov 6, 2024
1 parent dfe5785 commit f9fe102
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/uiweb/src/lib/dataProviders/ChatDataProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ export const ChatUIProvider = ({

// check and filter out the streams which are not connected
const streamsToConnect = streams.filter((stream) => !connectedStreams.listen?.includes(stream));

if (streamsToConnect.length) {
await userInstance.stream?.reinit(streams, {
connection: {
Expand Down

0 comments on commit f9fe102

Please sign in to comment.