Skip to content

Commit

Permalink
chore: less stupid way of doing /me
Browse files Browse the repository at this point in the history
  • Loading branch information
vyneer committed Dec 11, 2023
1 parent b64ca3d commit 7c03244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/chat/js/messages/ChatBroadcastMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ export default class ChatBroadcastMessage extends ChatEventMessage {

const ctrl = document.createElement('span');
ctrl.classList.toggle('ctrl');
ctrl.innerText = ': ';

if (this.slashme) {
ctrl.innerText = '';
return [user, ctrl, ' '];
}

ctrl.innerText = ': ';

return [user, ctrl];
}

Expand Down

0 comments on commit 7c03244

Please sign in to comment.