Refactored group chat flagging (#9907)

This commit is contained in:
Keith Holliday
2018-02-11 08:35:24 -07:00
committed by GitHub
parent 2687fe1ac9
commit 037280601a
5 changed files with 166 additions and 90 deletions

View File

@@ -0,0 +1,11 @@
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);
// }
}