Merge branch 'hotfix/21.56.9' into master
[gitter.git] / server / serializers / notifications / chat-id-strategy.js
blob87a3c23df1259422cf2fc74a1b0bbdd6bd3f78c1
1 'use strict';
3 var chatService = require('gitter-web-chats');
4 var idStrategyGenerator = require('gitter-web-serialization/lib/id-strategy-generator');
5 var ChatStrategy = require('./chat-strategy');
6 var ChatIdStrategy = idStrategyGenerator('ChatIdStrategy', ChatStrategy, chatService.findByIds);
8 module.exports = ChatIdStrategy;