diff --git a/webroot/js/message.js b/webroot/js/message.js index 8cecfb804..3ca58c3bd 100644 --- a/webroot/js/message.js +++ b/webroot/js/message.js @@ -22,15 +22,6 @@ class Message { userColor() { return messageBubbleColorForString(this.author); } - - toModel() { - return { - author: this.author(), - body: this.body(), - image: this.image(), - id: this.id - }; - } }