mirror of https://github.com/vector-im/riot-web
unused var
parent
adc4290451
commit
41e7496ff1
|
@ -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 [{
|
||||
|
|
Loading…
Reference in New Issue