You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by se...@apache.org on 2012/07/22 11:05:21 UTC

svn commit: r1364241 - /incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/hibernate/hibRtmpConnection.lzx

Author: sebawagner
Date: Sun Jul 22 09:05:20 2012
New Revision: 1364241

URL: http://svn.apache.org/viewvc?rev=1364241&view=rev
Log:
Fixes OPENMEETINGS-364 User is not removed from user list when he leaves the room 

Modified:
    incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/hibernate/hibRtmpConnection.lzx

Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/hibernate/hibRtmpConnection.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/hibernate/hibRtmpConnection.lzx?rev=1364241&r1=1364240&r2=1364241&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/hibernate/hibRtmpConnection.lzx (original)
+++ incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/hibernate/hibRtmpConnection.lzx Sun Jul 22 09:05:20 2012
@@ -1090,7 +1090,7 @@
                     var parentObj = canvas._overallchatcontent.parent.parent.parent._chatparticipants;
                     parentObj.removeItemById(value.user_id);
                 }
-                roomDisconnectUser(value, value.publicSID);
+                parent.roomDisconnectUser(value, value.publicSID);
             ]]>
             </handler>   
         </netRemoteCallHib>
@@ -1120,7 +1120,7 @@
         <netRemoteCallHib name="logicalRoomLeaveDis" funcname="logicalRoomLeaveDis" >      
             <handler name="ondata" args="value">
                 if ($debug) Debug.write("logicalRoomLeaveDis: ",value);
-                roomDisconnectUser(value, value.broadCastID);
+                parent.roomDisconnectUser(value, value.broadCastID);
             </handler>
         </netRemoteCallHib>             
   
@@ -1128,9 +1128,8 @@
             <netparam name="vars"><method name="getValue">return canvas.objWhiteboard;</method></netparam>
             <handler name="ondata" args="value">
                 <![CDATA[
-                //The onResult-Handler will be called be the rtmpconnection
+                	//The onResult-Handler will be called be the rtmpconnection
                     if ($debug) Debug.write("sendVars : ",value);
-                
                 ]]>
             </handler>   
         </netRemoteCallHib>