ソースを参照

refactor: don't count guest users in vote-to-skip users list

Kristian Vos 3 年 前
コミット
467a0cedeb
1 ファイル変更1 行追加1 行削除
  1. 1 1
      backend/logic/actions/stations.js

+ 1 - 1
backend/logic/actions/stations.js

@@ -1304,7 +1304,7 @@ export default {
 								.then(socket => {
 									if (socket && socket.session && socket.session.userId) {
 										if (!users.includes(socket.session.userId)) users.push(socket.session.userId);
-									} else users.push(socketId);
+									}
 									return next();
 								})
 								.catch(next);