overleaf/services/web/app/coffee/Features/Chat/ChatController.coffee

13 lines
322 B
CoffeeScript
Raw Normal View History

2014-07-04 08:05:55 -04:00
ChatHandler = require("./ChatHandler")
module.exports =
sendMessage: (project_id, user_id, messageContent, callback)->
ChatHandler.sendMessage project_id, user_id, messageContent, (err)->
callback()
getMessages: (project_id, query, callback)->
ChatHandler.getMessages project_id, query, (err)->
callback()