diff --git a/src/node/db/API.js b/src/node/db/API.js index a9572345..b71b5dda 100644 --- a/src/node/db/API.js +++ b/src/node/db/API.js @@ -527,7 +527,7 @@ exports.appendChatMessage = function(padID, text, authorID, time, callback) var padMessage = require("ep_etherpad-lite/node/handler/PadMessageHandler.js"); // save chat message to database and send message to all connected clients - padMessage.sendChatMessageToPadClients(parseInt(time), authorID, text, padID); + padMessage.sendChatMessageToPadClients(time, authorID, text, padID); callback(); }