Author: doll
Date: Tue Aug 26 10:40:11 2008
New Revision: 689150

URL: http://svn.apache.org/viewvc?rev=689150&view=rev
Log:
SHINDIG-533
Patch from Arne Roomann-Kurrik. Setting groupId=self no longer causes invalid 
rpc or restful requests.



Modified:
    incubator/shindig/trunk/features/opensocial-current/jsonrpccontainer.js
    incubator/shindig/trunk/features/opensocial-current/restfulcontainer.js

Modified: 
incubator/shindig/trunk/features/opensocial-current/jsonrpccontainer.js
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/opensocial-current/jsonrpccontainer.js?rev=689150&r1=689149&r2=689150&view=diff
==============================================================================
--- incubator/shindig/trunk/features/opensocial-current/jsonrpccontainer.js 
(original)
+++ incubator/shindig/trunk/features/opensocial-current/jsonrpccontainer.js Tue 
Aug 26 10:40:11 2008
@@ -195,7 +195,7 @@
 
   if (groupId == 'FRIENDS') {
     groupId = "@friends";
-  } else if (!groupId) {
+  } else if (groupId == 'SELF' || !groupId) {
     groupId = "@self";
   }
 

Modified: 
incubator/shindig/trunk/features/opensocial-current/restfulcontainer.js
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/opensocial-current/restfulcontainer.js?rev=689150&r1=689149&r2=689150&view=diff
==============================================================================
--- incubator/shindig/trunk/features/opensocial-current/restfulcontainer.js 
(original)
+++ incubator/shindig/trunk/features/opensocial-current/restfulcontainer.js Tue 
Aug 26 10:40:11 2008
@@ -188,7 +188,7 @@
 
   if (groupId == 'FRIENDS') {
     groupId = "@friends";
-  } else if (!groupId) {
+  } else if (groupId == 'SELF' || !groupId) {
     groupId = "@self";
   }
 


Reply via email to