Skip to content

Commit b92d7b0

Browse files
update to do fetch on callAgent initilization
1 parent 7d86a52 commit b92d7b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Project/src/MakeCall/MakeCall.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ export default class MakeCall extends React.Component {
236236
this.logInComponentRef.current.setCallAgent(this.callAgent);
237237
this.logInComponentRef.current.setCallClient(this.callClient);
238238
this.autoJoinMeetingByMeetingLink();
239+
const activeCalls = await this.callAgent.getActiveCallDetails();
240+
this.setState({ activeCallDetails: activeCalls.callId ? activeCalls : undefined });
239241
} catch (e) {
240242
console.error(e);
241243
}

0 commit comments

Comments
 (0)