1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-23 23:29:43 +02:00

fix: Socket bug fixes and improvements

This commit is contained in:
Maksim Eltyshev 2022-10-03 12:11:19 +02:00
parent 4e876922f8
commit 9f16881965
6 changed files with 53 additions and 32 deletions

View file

@ -26,7 +26,7 @@ module.exports = {
const userIds = _.union(managerUserIds, memberUserIds);
userIds.forEach((userId) => {
sails.sockets.removeRoomMembersFromRooms(`user:${userId}`, boardRooms);
sails.sockets.removeRoomMembersFromRooms(`@user:${userId}`, boardRooms);
sails.sockets.broadcast(
`user:${userId}`,