allowed the "forum updated" message to show up for reloads as well

This commit is contained in:
Julian Lam
2014-08-26 11:09:54 -04:00
parent dc0cec0352
commit 5f96823f66
4 changed files with 54 additions and 29 deletions

View File

@@ -35,7 +35,11 @@ SocketMeta.reconnected = function(socket, data, callback) {
};
emitter.on('nodebb:ready', function() {
websockets.server.sockets.emit('event:nodebb.ready', meta.config['cache-buster']);
websockets.server.sockets.emit('event:nodebb.ready', {
general: meta.config['cache-buster'],
css: meta.css.hash,
js: meta.js.hash
});
});
SocketMeta.buildTitle = function(socket, text, callback) {