Skip to content
Snippets Groups Projects
Commit ee037eef authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

The Socket.IO solution of active user counting now uses the the

UserService instead of a CouchDB request.
parent 7131d900
No related merge requests found
...@@ -225,7 +225,7 @@ public class ARSnovaSocketIOServer { ...@@ -225,7 +225,7 @@ public class ARSnovaSocketIOServer {
* @param client * @param client
*/ */
public void reportSessionDataToClient(String sessionKey, SocketIOClient client) { public void reportSessionDataToClient(String sessionKey, SocketIOClient client) {
client.sendEvent("updateActiveUserCount", sessionService.countActiveUsers(sessionKey)); client.sendEvent("updateActiveUserCount", userService.getUsersInSessionCount(sessionKey));
de.thm.arsnova.entities.Feedback fb = feedbackService.getFeedback(sessionKey); de.thm.arsnova.entities.Feedback fb = feedbackService.getFeedback(sessionKey);
client.sendEvent("updateFeedback", fb.getValues()); client.sendEvent("updateFeedback", fb.getValues());
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment