diff --git a/addons/mail/static/src/js/models/threads/abstract_thread.js b/addons/mail/static/src/js/models/threads/abstract_thread.js new file mode 100644 index 00000000000..3ea263fa996 --- /dev/null +++ b/addons/mail/static/src/js/models/threads/abstract_thread.js @@ -0,0 +1,22 @@ +odoo.define('mail.model.AbstractThread', function (require) { +"use strict"; + +var Class = require('web.Class'); + +/** + * Abstract thread is the super class of all threads, either backend threads + * (which are compatible with mail service) or website livechats. + */ +var AbstractThread = Class.extend({ + init: function (parent, data) {}, + + //-------------------------------------------------------------------------- + // Public + //-------------------------------------------------------------------------- + + getMessages: function () {}, +}); + +return AbstractThread; + +});