| 
				
			 | 
			
			
				
				@@ -603,16 +603,6 @@ $(document).bind('conferenceCreated.jingle', function (event, focus) 
			 | 
		
		
	
		
			
			| 
				603
			 | 
			
				603
			 | 
			
			
				
				     } 
			 | 
		
		
	
		
			
			| 
				604
			 | 
			
				604
			 | 
			
			
				
				 }); 
			 | 
		
		
	
		
			
			| 
				605
			 | 
			
				605
			 | 
			
			
				
				  
			 | 
		
		
	
		
			
			| 
				606
			 | 
			
				
			 | 
			
			
				
				-$(document).bind('callterminated.jingle', function (event, sid, jid, reason) { 
			 | 
		
		
	
		
			
			| 
				607
			 | 
			
				
			 | 
			
			
				
				-    // Leave the room if my call has been remotely terminated. 
			 | 
		
		
	
		
			
			| 
				608
			 | 
			
				
			 | 
			
			
				
				-    if (connection.emuc.joined && reason === 'kick') { 
			 | 
		
		
	
		
			
			| 
				609
			 | 
			
				
			 | 
			
			
				
				-        sessionTerminated = true; 
			 | 
		
		
	
		
			
			| 
				610
			 | 
			
				
			 | 
			
			
				
				-        connection.emuc.doLeave(); 
			 | 
		
		
	
		
			
			| 
				611
			 | 
			
				
			 | 
			
			
				
				-        messageHandler.openMessageDialog("Session Terminated", 
			 | 
		
		
	
		
			
			| 
				612
			 | 
			
				
			 | 
			
			
				
				-                            "Ouch! You have been kicked out of the meet!"); 
			 | 
		
		
	
		
			
			| 
				613
			 | 
			
				
			 | 
			
			
				
				-    } 
			 | 
		
		
	
		
			
			| 
				614
			 | 
			
				
			 | 
			
			
				
				-}); 
			 | 
		
		
	
		
			
			| 
				615
			 | 
			
				
			 | 
			
			
				
				- 
			 | 
		
		
	
		
			
			| 
				616
			 | 
			
				606
			 | 
			
			
				
				 $(document).bind('setLocalDescription.jingle', function (event, sid) { 
			 | 
		
		
	
		
			
			| 
				617
			 | 
			
				607
			 | 
			
			
				
				     // put our ssrcs into presence so other clients can identify our stream 
			 | 
		
		
	
		
			
			| 
				618
			 | 
			
				608
			 | 
			
			
				
				     var sess = connection.jingle.sessions[sid]; 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -852,6 +842,17 @@ $(document).bind('presence.status.muc', function (event, jid, info, pres) { 
			 | 
		
		
	
		
			
			| 
				852
			 | 
			
				842
			 | 
			
			
				
				  
			 | 
		
		
	
		
			
			| 
				853
			 | 
			
				843
			 | 
			
			
				
				 }); 
			 | 
		
		
	
		
			
			| 
				854
			 | 
			
				844
			 | 
			
			
				
				  
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				845
			 | 
			
			
				
				+$(document).bind('kicked.muc', function (event, jid) { 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				846
			 | 
			
			
				
				+    console.info(jid + " has been kicked from MUC!"); 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				847
			 | 
			
			
				
				+    if (connection.emuc.myroomjid === jid) { 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				848
			 | 
			
			
				
				+        sessionTerminated = true; 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				849
			 | 
			
			
				
				+        disposeConference(false); 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				850
			 | 
			
			
				
				+        connection.emuc.doLeave(); 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				851
			 | 
			
			
				
				+        messageHandler.openMessageDialog("Session Terminated", 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				852
			 | 
			
			
				
				+            "Ouch! You have been kicked out of the meet!"); 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				853
			 | 
			
			
				
				+    } 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				854
			 | 
			
			
				
				+}); 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				855
			 | 
			
			
				
				+ 
			 | 
		
		
	
		
			
			| 
				855
			 | 
			
				856
			 | 
			
			
				
				 $(document).bind('passwordrequired.muc', function (event, jid) { 
			 | 
		
		
	
		
			
			| 
				856
			 | 
			
				857
			 | 
			
			
				
				     console.log('on password required', jid); 
			 | 
		
		
	
		
			
			| 
				857
			 | 
			
				858
			 | 
			
			
				
				  
			 |