mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
12 lines
329 B
JavaScript
12 lines
329 B
JavaScript
import GroupChatReporter from './groupChatReporter';
|
|
// import InboxChatReporter from './inboxChatReporter';
|
|
|
|
export function chatReporterFactory (type, req, res) {
|
|
if (type === 'Group') {
|
|
return new GroupChatReporter(req, res);
|
|
}
|
|
// else if (type === 'Inbox') {
|
|
// return new InboxChatReporter(req, res);
|
|
// }
|
|
}
|