mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
tweaking active.register so that it emits an active user change
This commit is contained in:
@@ -258,6 +258,7 @@ var config = require('../config.js'),
|
||||
},
|
||||
register: function(sessionID) {
|
||||
RDB.set('active:' + sessionID, '', 60*10); // Active state persists for 10 minutes
|
||||
this.get();
|
||||
}
|
||||
}
|
||||
}(exports));
|
||||
Reference in New Issue
Block a user