mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
renamed end to stop globally
fixed getting favourites for admins
This commit is contained in:
@@ -249,9 +249,9 @@ SocketModules.chats.getRecentChats = function(socket, data, callback) {
|
||||
return callback(new Error('[[error:invalid-data]]'));
|
||||
}
|
||||
var start = parseInt(data.after, 10),
|
||||
end = start + 9;
|
||||
stop = start + 9;
|
||||
|
||||
Messaging.getRecentChats(socket.uid, start, end, callback);
|
||||
Messaging.getRecentChats(socket.uid, start, stop, callback);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user