Permalink
Browse files

this.user now available in multicallers

  • Loading branch information...
Sridatta Thatipamala Sridatta Thatipamala
Sridatta Thatipamala authored and Sridatta Thatipamala committed Apr 9, 2011
1 parent f6e5ffa commit c191d04ff9f5886d409e6056c67fca8eff31964d
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/clientGroup.js
View
@@ -95,7 +95,7 @@ exports.ClientGroup = function ClientGroup(allScopes, defaultScope, socket, grou
var clientScope = groupScopes[clientId];
var theFunction = nowUtil.getVarFromFqn(fqn, clientScope);
if(theFunction !== false) {
- theFunction.apply({now: clientScope}, arguments);
+ theFunction.apply({now: clientScope, user: {clientId: clientId}}, arguments);
} else {
nowUtil.debug("Multicaller", "No function found for client " + clientId);
}

0 comments on commit c191d04

Please sign in to comment.