Improve query handling for CommandsInfluencer
This commit is contained in:
parent
fc8338bb35
commit
a38ebe3d53
@ -493,7 +493,7 @@ class CommandsInfluencer extends Influencer {
|
|||||||
const commands = this._commands;
|
const commands = this._commands;
|
||||||
|
|
||||||
commands.forEach(command => {
|
commands.forEach(command => {
|
||||||
if(command.key.startsWith(rawQuery)){
|
if(this._getDomain(command.url).startsWith(rawQuery)){
|
||||||
suggestions.push(command.url);
|
suggestions.push(command.url);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user