Adjust system messages

This commit is contained in:
SillyLossy
2023-04-09 02:10:58 +03:00
parent 314c68dfc9
commit 2afe1ee44e
2 changed files with 2 additions and 3 deletions

View File

@ -255,7 +255,7 @@ const system_messages = {
is_user: false,
is_system: true,
is_name: true,
mes: "No one hears you. **Hint:** add more members to the group!",
mes: "No one hears you. <b>Hint&#58;</b> add more members to the group!",
},
generic: {
name: systemUserName,
@ -821,7 +821,6 @@ function messageFormating(mes, ch_name, isSystem, forceAvatar) {
if (this_chid === undefined && !selected_group) {
mes = mes
.replace(/\*\*(.+?)\*\*/g, "<b>$1</b>")
.replace(/\*(.+?)\*/g, "<i>$1</i>")
.replace(/\n/g, "<br/>");
} else if (!isSystem) {
mes = converter.makeHtml(mes);

View File

@ -2381,7 +2381,7 @@ input[type="range"]::-webkit-slider-thumb {
position: sticky;
bottom: 10px;
margin: 10px;
opacity: 0.6;
opacity: 0.85;
text-shadow: 2px 2px 2px var(--black60a);
}