Skip to content

Node.js based forum software built for the modern web

tweaking active.register so that it emits an active user change

Julian Lam782753481905
diff --git a/src/user.js b/src/user.js
index 46434ca34a..bc250e1c5f 100644
--- a/src/user.js
+++ b/src/user.js
@@ -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));
\ No newline at end of file