From 8b50c0e90d4a045f3ef98d60e8e8801b9d776625 Mon Sep 17 00:00:00 2001 From: MinusGix Date: Tue, 13 Aug 2019 18:25:32 -0500 Subject: Update client.js --- client/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client.js b/client/client.js index f55c388..06bfc1b 100644 --- a/client/client.js +++ b/client/client.js @@ -322,10 +322,10 @@ function pushMessage(args) { ) { messageEl.classList.add('refmessage'); notify(args); - } else { - messageEl.classList.add('message'); } + messageEl.classList.add('message'); + if (verifyNickname(myNick) && args.nick == myNick) { messageEl.classList.add('me'); } else if (args.nick == '!') { -- cgit v1.2.1