mirror of https://github.com/vector-im/riot-web
				
				
				
			Don't show emoticons in emoji autocomplete
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
							parent
							
								
									b5b0a9bc4e
								
							
						
					
					
						commit
						5ffa3783dd
					
				|  | @ -67,7 +67,7 @@ export default class EmojiProvider extends AutocompleteProvider { | |||
|     constructor() { | ||||
|         super(EMOJI_REGEX); | ||||
|         this.matcher = new QueryMatcher<ISortedEmoji>(SORTED_EMOJI, { | ||||
|             keys: ['emoji.emoticon'], | ||||
|             keys: [], | ||||
|             funcs: [o => o.emoji.shortcodes.map(s => `:${s}:`)], | ||||
|             // For matching against ascii equivalents
 | ||||
|             shouldMatchWordsOnly: false, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Šimon Brandner
						Šimon Brandner