FIX: Emoji not rendering using plugin api.
This commit is contained in:
parent
e2c87da42a
commit
07717dfaa7
|
@ -94,8 +94,8 @@ class PluginApi {
|
||||||
} else if (result.emoji) {
|
} else if (result.emoji) {
|
||||||
iconBody = result.emoji.split('|').map(name => {
|
iconBody = result.emoji.split('|').map(name => {
|
||||||
let widgetAttrs = { name };
|
let widgetAttrs = { name };
|
||||||
if (result.title) widgetAttrs.title = true;
|
if (result.emojiTitle) widgetAttrs.title = true;
|
||||||
dec.attach('emoji', widgetAttrs);
|
return dec.attach('emoji', widgetAttrs);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue