mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
13 lines
322 B
CoffeeScript
13 lines
322 B
CoffeeScript
|
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()
|