summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/thread_windows/abstract_thread_window.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/static/src/js/thread_windows/abstract_thread_window.js')
-rw-r--r--addons/mail/static/src/js/thread_windows/abstract_thread_window.js24
1 files changed, 1 insertions, 23 deletions
diff --git a/addons/mail/static/src/js/thread_windows/abstract_thread_window.js b/addons/mail/static/src/js/thread_windows/abstract_thread_window.js
index d6a637a0552..27cb97e1f65 100644
--- a/addons/mail/static/src/js/thread_windows/abstract_thread_window.js
+++ b/addons/mail/static/src/js/thread_windows/abstract_thread_window.js
@@ -147,32 +147,10 @@ var AbstractThreadWindow = Widget.extend({
* @returns {mail.model.Thread|undefined}
*/
getThread: function () {
- if (!this.hasThread) {
- return undefined;
- }
- return this._thread;
- },
- /**
- *Get out of office info
- *
- * @returns {string|undefined}
- */
- getOutOfOfficeInfo: function () {
- if (!this.hasThread()) {
- return undefined;
- }
- return this._thread.getOutOfOfficeInfo();
- },
- /**
- * Get out of office user text
- *
- * @returns {string|undefined}
- */
- getOutOfOfficeMessage: function () {
if (!this.hasThread()) {
return undefined;
}
- return this._thread.getOutOfOfficeMessage();
+ return this._thread;
},
/**
* Get the status of the thread, such as the im status of a DM chat