mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 17:46:16 +01:00
removed incorrect markread nid
This commit is contained in:
@@ -330,14 +330,9 @@ SocketModules.chats.getMessages = function (socket, data, callback) {
|
||||
uid: data.uid,
|
||||
roomId: data.roomId,
|
||||
start: parseInt(data.start, 10) || 0,
|
||||
count: 50,
|
||||
markRead: false
|
||||
count: 50
|
||||
};
|
||||
|
||||
if (data.hasOwnProperty('markRead')) {
|
||||
params.markRead = data.markRead;
|
||||
}
|
||||
|
||||
Messaging.getMessages(params, callback);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user