1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 09:35:51 +02:00
This commit is contained in:
syuilo
2017-12-23 04:21:48 +09:00
parent 8376b10b3b
commit 67c269ddf5

View File

@@ -100,7 +100,7 @@ async function byNative(res, rej, me, text, userId, following, mute, reply, repo
push({
$and: text.split(' ').map(x => ({
text: x[0] == '-' ? {
$ne: new RegExp(escapeRegexp(x))
$ne: new RegExp(escapeRegexp(x.substr(1)))
} : new RegExp(escapeRegexp(x))
}))
});