diff --git a/file/style/be.bastelstu.chat.less b/file/style/be.bastelstu.chat.less
index fe31fd2..593b20f 100644
--- a/file/style/be.bastelstu.chat.less
+++ b/file/style/be.bastelstu.chat.less
@@ -187,7 +187,7 @@
.timsChatUsernameContainer {
// sender username
- > span:first-child {
+ > span:not(.icon):not(.receiver) {
font-weight: bold;
}
}
diff --git a/template/message.tpl b/template/message.tpl
index 2b2db0f..f072838 100644
--- a/template/message.tpl
+++ b/template/message.tpl
@@ -29,7 +29,7 @@
{if $message.type == $messageTypes.WHISPER}
- {$message.additionalData.receiverUsername}
+ {$message.additionalData.receiverUsername}
{/if}