feat: make usernames in USERNOTICEs clickable (#5686)
This commit is contained in:
@@ -38,8 +38,9 @@
|
||||
"type": "TimestampElement"
|
||||
},
|
||||
{
|
||||
"color": "System",
|
||||
"flags": "Text",
|
||||
"color": "Text",
|
||||
"fallbackColor": "System",
|
||||
"flags": "Text|Mention",
|
||||
"link": {
|
||||
"type": "None",
|
||||
"value": ""
|
||||
@@ -47,7 +48,9 @@
|
||||
"style": "ChatMedium",
|
||||
"tooltip": "",
|
||||
"trailingSpace": true,
|
||||
"type": "TextElement",
|
||||
"type": "MentionElement",
|
||||
"userColor": "#ff00ff7f",
|
||||
"userLoginName": "hyperbolicxd",
|
||||
"words": [
|
||||
"hyperbolicxd"
|
||||
]
|
||||
@@ -142,6 +145,24 @@
|
||||
"to"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": "Text",
|
||||
"fallbackColor": "System",
|
||||
"flags": "Text|Mention",
|
||||
"link": {
|
||||
"type": "None",
|
||||
"value": ""
|
||||
},
|
||||
"style": "ChatMedium",
|
||||
"tooltip": "",
|
||||
"trailingSpace": false,
|
||||
"type": "MentionElement",
|
||||
"userColor": "System",
|
||||
"userLoginName": "quote_if_nam",
|
||||
"words": [
|
||||
"quote_if_nam"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": "System",
|
||||
"flags": "Text",
|
||||
@@ -154,7 +175,7 @@
|
||||
"trailingSpace": true,
|
||||
"type": "TextElement",
|
||||
"words": [
|
||||
"quote_if_nam!"
|
||||
"!"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user