Skip to content

Commit

Permalink
fix(analysis) Misplaced line
Browse files Browse the repository at this point in the history
  • Loading branch information
HagerDakroury committed Jul 22, 2021
1 parent 6926602 commit 7349c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analysis/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ io.on("connection", (socket: any) => {
var socketId = socket.id;
if (socketId in sockets) {
var meeting = socketId.meeting;
var student = socketId.username;
if (student && meeting) {
var student = socketId.username;
var emotion = emotions[meeting][student];
instructors[meeting][emotion]--;
delete emotions[meeting][student];
Expand Down

0 comments on commit 7349c0e

Please sign in to comment.