Starting work on private messaging back-end.
This commit is contained in:
parent
1384b02f4d
commit
d541dce8c4
4 changed files with 59 additions and 3 deletions
|
|
@ -33,6 +33,7 @@ const mongoose = require('mongoose');
|
|||
//Define Local Imports
|
||||
//Application
|
||||
const channelManager = require('./app/channel/channelManager');
|
||||
const pmHandler = require('./app/pm/pmHandler');
|
||||
//Util
|
||||
const configCheck = require('./utils/configCheck');
|
||||
const scheduler = require('./utils/scheduler');
|
||||
|
|
@ -196,6 +197,7 @@ scheduler.kickoff();
|
|||
|
||||
//Hand over general-namespace socket.io connections to the channel manager
|
||||
module.exports.channelManager = new channelManager(io)
|
||||
module.exports.pmHandler = new pmHandler(io)
|
||||
|
||||
//Listen Function
|
||||
webServer.listen(port, () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue