1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-17 02:16:54 +00:00
* Fixed: Mentions not appearing in bold font.
* Fixed: Highlighting messages in chat when opening a viewer card by clicking a mention that wasn't all lower-case.
* Fixed: Detection of External add-ons when there is a name collision.
* Changed: Do not report name collision errors.
* Changed: Allow for multi-line add-on descriptions.
This commit is contained in:
SirStendec 2019-06-01 13:58:12 -04:00
parent cdedf29d04
commit 535192d931
11 changed files with 382 additions and 243 deletions

View file

@ -209,13 +209,13 @@ export const Mentions = {
},
render(token, createElement) {
return (<span
return (<strong
class={`chat-line__message-mention${token.me ? ' ffz--mention-me' : ''}`}
data-login={token.recipient}
onClick={this.handleMentionClick}
>
{token.text}
</span>)
</strong>)
},
process(tokens, msg, user) {
@ -274,7 +274,7 @@ export const Mentions = {
type: 'mention',
text: `${at}${recipient}`,
me: mentioned,
recipient
recipient: recipient ? recipient.toLowerCase() : ''
});
if ( mentioned )