notify node: userIDguard
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
if (typeof io === 'undefined') return;
|
||||
|
||||
window._socket = io('<?php echo NODE_PUBLIC_URL; ?>', {
|
||||
query: { company_id: company_id },
|
||||
query: { company_id: company_id, user_id: user_id, role: user_role },
|
||||
reconnection: true,
|
||||
reconnectionDelay: 2000,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user