1
0
mirror of https://github.com/hack-chat/main.git synced 2024-03-22 13:20:33 +08:00

Merge pull request #185 from xjzh123/master

fix my-message css for users with tripcodes
This commit is contained in:
marzavec 2022-11-29 06:54:39 -08:00 committed by GitHub
commit 8b8a325a5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -431,7 +431,7 @@ function pushMessage(args) {
messageEl.classList.add('message');
if (verifyNickname(myNick) && args.nick == myNick) {
if (verifyNickname(myNick.split('#')[0]) && args.nick == myNick.split('#')[0]) {
messageEl.classList.add('me');
} else if (args.nick == '!') {
messageEl.classList.add('warn');