Skip to content
Snippets Groups Projects
Commit 8fd78aeb authored by こぴなたみぽ's avatar こぴなたみぽ
Browse files

wip

parent 41623f85
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,17 @@ module.exports = async (params, user, app) => {
channel_id: {
$in: watchingChannelIds
}
}]
}],
// mute
user_id: {
$nin: mutes
},
'_reply.user_id': {
$nin: mutes
},
'_repost.user_id': {
$nin: mutes
},
} as any;
if (sinceId) {
......
import db from '../../db/mongodb';
export default db.get('mute') as any; // fuck type definition
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment