Starting work on private messaging back-end.

This commit is contained in:
rainbow napkin 2025-09-18 03:42:52 -04:00
parent 1384b02f4d
commit d541dce8c4
4 changed files with 59 additions and 3 deletions

View file

@ -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, () => {