Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitchdev committed Nov 21, 2024
1 parent dc5def3 commit ac24da8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions assets/chat/js/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -1164,12 +1164,10 @@ class Chat {
if (isCombo && win.lastmessage?.type === MessageTypes.USER) {
const lastMessage = win.lastmessage;
win.removeLastMessage();
const msg = MessageBuilder.emote(
textonly,
lastMessage.timestamp,
[lastMessage, message],
2,
).into(this);
const msg = MessageBuilder.emote(textonly, lastMessage.timestamp, [
lastMessage,
message,
]).into(this);

if (this.user.equalWatching(usr.watching)) {
msg.ui.classList.add('watching-same');
Expand Down

0 comments on commit ac24da8

Please sign in to comment.