blob: 7bd7c2cbd7c1148938d0aea586108891d3400471 (
plain)
1
2
3
4
5
6
7
8
|
// not using at moment
function (doc) {
if (doc.type === 'Message' && doc.user_ids_to_show && Array.isArray(doc.user_ids_to_show)) {
doc.user_ids_to_show.forEach(function (userIdsToShow) {
emit([userIdsToShow, doc.created_at], 1);
});
}
}
|