From db790183d8fff7444919b63ca7799ef64fb713a7 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Mon, 16 Apr 2018 22:06:15 +0200 Subject: [PATCH] Remove unused code --- src/converse-message-view.js | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/converse-message-view.js b/src/converse-message-view.js index 0a710b02d..8eb058584 100644 --- a/src/converse-message-view.js +++ b/src/converse-message-view.js @@ -43,14 +43,6 @@ }, render () { - /* Renders a chat message based on the passed in attributes. - * - * Parameters: - * (Object) attrs: An object containing the message attributes. - * - * Returns: - * The DOM element representing the message. - */ const chatbox = this.model.collection.chatbox; let text = this.model.get('message'), @@ -107,20 +99,6 @@ return this.el; }, - getExtraMessageTemplateAttributes () { - /* Provides a hook for sending more attributes to the - * message template. - * - * Parameters: - * (Object) attrs: An object containing message attributes. - */ - if (this.model.get('is_spoiler')) { - return {}; - } else { - return {} - } - }, - getExtraMessageClasses () { let extra_classes; if (_converse.show_message_load_animation) {