Commit db790183 authored by JC Brand's avatar JC Brand

Remove unused code

parent dad8eb2f
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment