Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Room notifs in autocomplete & composer #1577

Merged
merged 6 commits into from
Nov 7, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
unused var
  • Loading branch information
dbkr committed Nov 6, 2017
commit 41e7496ff1ead9faaa0fcee52c2e972d9f2984a0
1 change: 0 additions & 1 deletion src/autocomplete/NotifProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 [{
Expand Down