public void Join(string username) { var me = new User { Username = username, ConnectionId = Context.ConnectionId }; // Add the new user Users.Add(me); this.updateList(); CallOthers(me); }
private void CallOthers(User me) { Clients.Others.callAccepted(me); }