unused var

This commit is contained in:
David Baker 2017-11-06 15:25:25 +00:00
parent adc4290451
commit 41e7496ff1

View file

@ -36,7 +36,6 @@ export default class NotifProvider extends AutocompleteProvider {
if (!this.room.currentState.mayTriggerNotifOfType('room', client.credentials.userId)) return [];
let completions = [];
const {command, range} = this.getCurrentCommand(query, selection, force);
if (command && command[0] && '@room'.startsWith(command[0]) && command[0].length > 1) {
return [{