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) {
|
||||
iconBody = result.emoji.split('|').map(name => {
|
||||
let widgetAttrs = { name };
|
||||
if (result.title) widgetAttrs.title = true;
|
||||
dec.attach('emoji', widgetAttrs);
|
||||
if (result.emojiTitle) widgetAttrs.title = true;
|
||||
return dec.attach('emoji', widgetAttrs);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue