mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
10 minutes chat history, limit of 20 messages
This commit is contained in:
@@ -131,6 +131,10 @@ module.exports = function() {
|
||||
}
|
||||
});
|
||||
|
||||
socket.on('get_history', function(msg) {
|
||||
Chat.get_history(msg.channel, msg.all, socket);
|
||||
});
|
||||
|
||||
socket.on('chat', function (msg) {
|
||||
Chat.chat(msg, guid, offline, socket);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user