Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Removes unused, duplicate code method.

Damian Minkovb35e8aaf934e
diff --git a/app.js b/app.js
index b7f7bb7036..86994b428e 100644
--- a/app.js
+++ b/app.js
@@ -1477,28 +1477,6 @@ function setView(viewName) {
// }
}
-function hangUp() {
- if (connection && connection.connected) {
- // ensure signout
- $.ajax({
- type: 'POST',
- url: config.bosh,
- async: false,
- cache: false,
- contentType: 'application/xml',
- data: "<body rid='" + (connection.rid || connection._proto.rid) + "' xmlns='http://jabber.org/protocol/httpbind' sid='" + (connection.sid || connection._proto.sid) + "' type='terminate'><presence xmlns='jabber:client' type='unavailable'/></body>",
- success: function (data) {
- console.log('signed out');
- console.log(data);
- },
- error: function (XMLHttpRequest, textStatus, errorThrown) {
- console.log('signout error', textStatus + ' (' + errorThrown + ')');
- }
- });
- }
- disposeConference(true);
-}
-
$(document).bind('fatalError.jingle',
function (event, session, error)
{