mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 17:56:16 +01:00
closes #4766
This commit is contained in:
@@ -68,6 +68,9 @@ function leaveCurrentRoom(socket) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SocketMeta.getServerTime = function(socket, data, callback) {
|
||||
// Returns server time in milliseconds
|
||||
callback(null, Date.now());
|
||||
};
|
||||
|
||||
module.exports = SocketMeta;
|
||||
|
||||
Reference in New Issue
Block a user