diff --git a/assets/chat/js/messages/subscriptions/ChatGiftedSubscriptionMessage.js b/assets/chat/js/messages/subscriptions/ChatGiftedSubscriptionMessage.js index 07be0899..f3d662f5 100644 --- a/assets/chat/js/messages/subscriptions/ChatGiftedSubscriptionMessage.js +++ b/assets/chat/js/messages/subscriptions/ChatGiftedSubscriptionMessage.js @@ -22,7 +22,7 @@ export default class ChatGiftedSubscriptionMessage extends ChatSubscriptionMessa }; }, {}); - attributes['data-giftee'] = this.giftee.username.toLowerCase(); + attributes['data-giftee'] = this.giftee.username; message.querySelector('.subscription-icon').classList.add('gift'); @@ -33,7 +33,7 @@ export default class ChatGiftedSubscriptionMessage extends ChatSubscriptionMessa const gifteeColorFlair = usernameColorFlair(chat.flairs, this.giftee); giftee.classList.add(gifteeColorFlair?.name); - giftee.innerText = this.giftee.username; + giftee.innerText = this.giftee.displayName; const subscriptionInfo = message.querySelector('.event-info'); const user = message.querySelector('.user');