mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
remove unused, commented line of code
This commit is contained in:
parent
d35b01b63a
commit
a25bc94343
@ -68,7 +68,6 @@ export default class EmojiProvider extends AutocompleteProvider {
|
||||
this.matcher = new QueryMatcher(EMOJI_SHORTNAMES, {
|
||||
keys: ['emoji.emoticon', 'shortname'],
|
||||
funcs: [
|
||||
// (o) => `:${o.emoji.shortcodes[0]}:`, // shortname
|
||||
(o) => o.emoji.shortcodes.length > 1 ? o.emoji.shortcodes.slice(1).map(s => `:${s}:`).join(" ") : "", // aliases
|
||||
],
|
||||
// For matching against ascii equivalents
|
||||
|
Loading…
Reference in New Issue
Block a user