Skip to content

Commit

Permalink
fix answer
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsantosbh committed Mar 12, 2024
1 parent 0bffdde commit 2ad55bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/full.js
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ window.__incomingCallNotification = (notification) => {
}

window.answer = async () => {
const call = await window.__invite.accept(document.getElementById('rootElement'))
const call = await window.__invite.accept({rootElement: document.getElementById('rootElement')})
window.__call = call
window.__call.on('destroy', () => {
console.warn('Inbound Call got cancelled!!')
Expand Down

0 comments on commit 2ad55bf

Please sign in to comment.