mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 17:40:46 -04:00
here goes nothin'
This commit is contained in:
@@ -133,7 +133,7 @@ function buildVoteStatus() {
|
||||
|
||||
sockets.forEach((socket) => {
|
||||
if (!isEligibleVoter(socket)) return;
|
||||
const identityKey = String(socket?.data?.cookieUserId || '').trim() || `socket:${socket.id}`;
|
||||
const identityKey = String(socket?.data?.userId || '').trim() || String(socket?.data?.cookieUserId || '').trim() || `socket:${socket.id}`;
|
||||
const pref = typeof socket?.data?.overseerEnabled === 'boolean' ? socket.data.overseerEnabled : true;
|
||||
const prev = votesByIdentity.get(identityKey);
|
||||
if (typeof prev === 'boolean') {
|
||||
|
||||
Reference in New Issue
Block a user