diff --git a/mail_to/static/src/js/mail_to.js b/mail_to/static/src/js/mail_to.js index eab21a19..665ee256 100644 --- a/mail_to/static/src/js/mail_to.js +++ b/mail_to/static/src/js/mail_to.js @@ -34,10 +34,7 @@ chat_manager.make_message = function (data) { msg.more_recipients = more_recipients; return msg; - } - } - msg.more_recipients = more_recipients; - return msg; -}; + }; + return chat_manager; });