mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 11:11:04 +01:00
closes #6316
This commit is contained in:
@@ -39,6 +39,13 @@ module.exports = function (SocketUser) {
|
||||
function (next) {
|
||||
user.setUserFields(socket.uid, data, next);
|
||||
},
|
||||
function (next) {
|
||||
if (status !== 'offline') {
|
||||
user.updateOnlineUsers(socket.uid, next);
|
||||
} else {
|
||||
next();
|
||||
}
|
||||
},
|
||||
function (next) {
|
||||
var data = {
|
||||
uid: socket.uid,
|
||||
|
||||
Reference in New Issue
Block a user