You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by jo...@apache.org on 2011/04/11 23:54:26 UTC

svn commit: r1091228 - /shindig/trunk/features/src/main/javascript/features/rpc/rpc.js

Author: johnh
Date: Mon Apr 11 21:54:25 2011
New Revision: 1091228

URL: http://svn.apache.org/viewvc?rev=1091228&view=rev
Log:
Fix accidentally-broken sibling-communication.


Modified:
    shindig/trunk/features/src/main/javascript/features/rpc/rpc.js

Modified: shindig/trunk/features/src/main/javascript/features/rpc/rpc.js
URL: http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js?rev=1091228&r1=1091227&r2=1091228&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/rpc/rpc.js (original)
+++ shindig/trunk/features/src/main/javascript/features/rpc/rpc.js Mon Apr 11 21:54:25 2011
@@ -886,7 +886,7 @@ if (!gadgets.rpc) { // make lib resilien
         // target is misconfigured, it won't affect the others.
         // In the case of a sibling relay, channel is not found
         // in the receiverTx map but in the transport itself.
-        var channel = receiverTx[targetId]; // || transport;
+        var channel = receiverTx[targetId] || transport;
 
         if (!channel) {
           // Not set up yet. Enqueue the rpc for such time as it is.