mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
closes #2146
first tab (recent) shows last 50 messages instead of just last 24 hours
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user