Unverified Commit cf7031bc authored by Sorunome's avatar Sorunome
Browse files

fix images fallback

parent 06f4307b
......@@ -75,7 +75,7 @@ export default class EmoteProvider extends AutocompleteProvider {
if (emotes[key].url.startsWith('mxc://') && !allMxcs.has(emotes[key].url)) {
allMxcs.add(emotes[key].url);
this.emoteData.push({
code: key,
code: key[0] === ':' ? key : `:${key}:`,
mxc: emotes[key].url,
packName: packName,
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment