Task #3852: Send all feedback data of current session via SocketIO

parent 33b751d0
......@@ -16,7 +16,7 @@
<url>http://maven.mni.thm.de/content/repositories</url>
</repository>
<repository>
<id>thmrepo</id>
<id>thmreposnapshots</id>
<name>THM Maven Snapshot Repository</name>
<url>http://maven.mni.thm.de/content/repositories/snapshots</url>
</repository>
......
......@@ -43,7 +43,7 @@ public class ARSnovaSocketIOServer {
public void onData(SocketIOClient client, Feedback data) {
logger.info("setFeedback.onData: Client: {}, message: {}", new Object[] {client, data});
sessionService.postFeedback(data.getSessionkey(), data.getValue());
server.getBroadcastOperations().sendEvent("updateFeedback", data);
server.getBroadcastOperations().sendEvent("updateFeedback", sessionService.getFeedback(data.getSessionkey()));
}
});
......
Markdown is supported
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