mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-17 02:16:54 +00:00
4.1.2
* 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:
parent
cdedf29d04
commit
535192d931
11 changed files with 382 additions and 243 deletions
|
@ -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 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue