first tab (recent) shows last 50 messages instead of just last 24 hours
This commit is contained in:
barisusakli
2014-10-30 16:51:15 -04:00
parent 121de11400
commit 433769eb36
3 changed files with 16 additions and 10 deletions

View File

@@ -295,7 +295,7 @@ define('chat', ['taskbar', 'string', 'sounds', 'forum/chats'], function(taskbar,
};
function getChatMessages(chatModal, callback) {
socket.emit('modules.chats.get', {touid: chatModal.attr('touid'), since: 'day'}, function(err, messages) {
socket.emit('modules.chats.get', {touid: chatModal.attr('touid'), since: 'recent'}, function(err, messages) {
module.appendChatMessage(chatModal, messages, callback);
});
}