mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 11:33:10 +02:00
oops
This commit is contained in:
parent
8376b10b3b
commit
67c269ddf5
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
}))
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue