mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
remove unused, commented line of code
This commit is contained in:
parent
d35b01b63a
commit
a25bc94343
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue