Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mirhmousavi committed May 3, 2024
1 parent 3d95b38 commit 1a85944
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,7 @@ function loadSurfly() {
console.error("Error:", error);
});
});
if (message.data.type === 'cobrowse')
createSurflySession(nic_contact_id, 'cobrowse', false);
else if (message.data.type === 'videochat')
createSurflySession(nic_contact_id, 'videochat', false);
else:
console.error("Invalid type of session requested");
createSurflySession(nic_contact_id, message.data.type, false);
}
});

Expand Down

0 comments on commit 1a85944

Please sign in to comment.