openmeetings-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From solo...@apache.org
Subject svn commit: r1436740 - /incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/remote/red5/ScopeApplicationAdapter.java
Date Tue, 22 Jan 2013 04:01:17 GMT
Author: solomax
Date: Tue Jan 22 04:01:17 2013
New Revision: 1436740

URL: http://svn.apache.org/viewvc?rev=1436740&view=rev
Log:
[OPENMEETINGS-512] uploadComplete message was not sent to the client due to invalid publicSID

Modified:
    incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/remote/red5/ScopeApplicationAdapter.java

Modified: incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/remote/red5/ScopeApplicationAdapter.java
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/remote/red5/ScopeApplicationAdapter.java?rev=1436740&r1=1436739&r2=1436740&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/remote/red5/ScopeApplicationAdapter.java
(original)
+++ incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/remote/red5/ScopeApplicationAdapter.java
Tue Jan 22 04:01:17 2013
@@ -464,14 +464,14 @@ public class ScopeApplicationAdapter ext
 	public synchronized Boolean overwritePublicSID(String newPublicSID) {
 		try {
 			IConnection current = Red5.getConnectionLocal();
-			Client currentClient = this.clientListManager
-					.getClientByStreamId(current.getClient().getId(), null);
+			IClient c = current.getClient();
+			Client currentClient = clientListManager.getClientByStreamId(c.getId(), null);
 			if (currentClient == null) {
 				return false;
 			}
+			SessionVariablesUtil.initClient(c, SessionVariablesUtil.isAVClient(c), newPublicSID);
 			currentClient.setPublicSID(newPublicSID);
-			this.clientListManager.updateClientByStreamId(current.getClient()
-					.getId(), currentClient, false);
+			clientListManager.updateClientByStreamId(c.getId(), currentClient, false);
 			return true;
 		} catch (Exception err) {
 			log.error("[overwritePublicSID]", err);



Mime
View raw message