diff --git a/public/full.js b/public/full.js index 5fb5e0b..356ed7c 100644 --- a/public/full.js +++ b/public/full.js @@ -596,6 +596,18 @@ window.answer = async () => { updateUIConnected() } +/** + * Dev Only + */ + +window.simulate_no_packets = () => { + window.__call._closeWSConnection(); +} + +window.simulate_socket_error = () => { + window.__client.__wsClient.wsClient.store.dispatch({type: "session.forceClose"}) +} + window.reject = async () => { await window.__invite.reject() restoreUI() diff --git a/views/index.ejs b/views/index.ejs index 53c5de2..ea6fcbb 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -106,6 +106,12 @@ + +