mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 17:23:25 +03:00
@@ -61,6 +61,7 @@ module.exports = function defineCurrentUserHook(sails) {
|
||||
});
|
||||
|
||||
if (req.isSocket) {
|
||||
sails.sockets.join(req, `@accessToken:${accessToken}`);
|
||||
sails.sockets.join(req, `@user:${currentUser.id}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user