mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
db/API.js: no need to parseInt(time) here
We are already sure that time is an int
This commit is contained in:
parent
b34fc2de2b
commit
10172af199
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ exports.appendChatMessage = function(padID, text, authorID, time, callback)
|
||||||
|
|
||||||
var padMessage = require("ep_etherpad-lite/node/handler/PadMessageHandler.js");
|
var padMessage = require("ep_etherpad-lite/node/handler/PadMessageHandler.js");
|
||||||
// save chat message to database and send message to all connected clients
|
// 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();
|
callback();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue