Skip to content

Commit

Permalink
Remove unused removeLastMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitchdev committed Nov 18, 2024
1 parent 0d33579 commit 642d015
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions assets/chat/js/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,6 @@ class ChatWindow extends EventEmitter {
}
}

removeLastMessage() {
this.lastmessage.remove();
this.messages = this.messages.filter((m) => m !== this.lastmessage);
}

removeMessage(message) {
message.remove();
this.messages = this.messages.filter((m) => m !== message);
Expand Down

0 comments on commit 642d015

Please sign in to comment.