mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-15 07:08:56 +09:00
oops
This commit is contained in:
parent
8376b10b3b
commit
67c269ddf5
@ -100,7 +100,7 @@ async function byNative(res, rej, me, text, userId, following, mute, reply, repo
|
|||||||
push({
|
push({
|
||||||
$and: text.split(' ').map(x => ({
|
$and: text.split(' ').map(x => ({
|
||||||
text: x[0] == '-' ? {
|
text: x[0] == '-' ? {
|
||||||
$ne: new RegExp(escapeRegexp(x))
|
$ne: new RegExp(escapeRegexp(x.substr(1)))
|
||||||
} : new RegExp(escapeRegexp(x))
|
} : new RegExp(escapeRegexp(x))
|
||||||
}))
|
}))
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user