blob: bb6412b164c56abb9f3cf07ac0cdd77a63e03401 (
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);
});
}
}
|