diff --git a/src/editor/autocomplete.js b/src/editor/autocomplete.js index d7ad211de2..a322d5e6ce 100644 --- a/src/editor/autocomplete.js +++ b/src/editor/autocomplete.js @@ -89,6 +89,7 @@ export default class AutocompleteWrapperModel { const displayAlias = completion.completionId; return new RoomPillPart(displayAlias); } + // also used for emoji completion default: return new PlainPart(completion.completion); }